$OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
--- gcc/config/mips/openbsd.h.orig	Sat Aug  6 15:26:35 2005
+++ gcc/config/mips/openbsd.h	Sun Jul 23 18:43:31 2006
@@ -58,16 +58,19 @@ Boston, MA 02110-1301, USA.  */
 
 /* 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"
 
 /* Controlling the compilation driver.  */
 
