$OpenBSD: patch-gtk_gtktextattributes_h,v 1.2 2011/10/03 07:13:50 ajacoutot Exp $

From f44b8465f1733f848b69ffde85d12dfb5e1b36e1 Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@openbsd.org>
Date: Mon, 03 Oct 2011 07:11:50 +0000
Subject: __SIZEOF_INT__ and __SIZEOF_POINTER__ may not be defined.

--- gtk/gtktextattributes.h.orig	Tue Aug 16 04:04:34 2011
+++ gtk/gtktextattributes.h	Mon Oct  3 08:48:39 2011
@@ -104,7 +104,7 @@ struct _GtkTextAppearance
 
   GdkRGBA *rgba[2];
 
-#if __SIZEOF_INT__ == __SIZEOF_POINTER__
+#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
   /* unusable, just for ABI compat */
   guint padding[2];
 #endif
