$OpenBSD: patch-gcc_config_i386_openbsd_h,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- gcc/config/i386/openbsd.h.orig	Sat Nov 12 13:36:52 2011
+++ gcc/config/i386/openbsd.h	Sat Nov 12 13:37:45 2011
@@ -40,16 +40,19 @@ along with GCC; see the file COPYING3.  If not see
 
 /* This must agree with <machine/ansi.h> */
 #undef SIZE_TYPE
-#define SIZE_TYPE "unsigned int"
+#define SIZE_TYPE "long unsigned int"
 
 #undef PTRDIFF_TYPE
-#define PTRDIFF_TYPE "int"
+#define PTRDIFF_TYPE "long int"
 
 #undef WCHAR_TYPE
 #define WCHAR_TYPE "int"
 
 #undef WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE 32
+
+#undef WINT_TYPE
+#define WINT_TYPE "int"
 
 /* Assembler format: overall framework.  */
 
