$OpenBSD: patch-include_Motif-2_0_XmI_XpmI_h,v 1.1 2004/09/01 22:57:36 pvalchev Exp $
--- include/Motif-2.0/XmI/XpmI.h.orig	Thu Sep 21 14:56:42 2000
+++ include/Motif-2.0/XmI/XpmI.h	Wed Sep  1 20:30:12 2004
@@ -92,6 +92,11 @@ extern FILE *popen();
 		boundCheckingCalloc((long)(nelem),(long) (elsize))
 #endif
 
+#if defined(SCO) || defined(__USLC__)
+#include <stdint.h>	/* For SIZE_MAX */
+#endif
+#include <limits.h>
+
 #define XPMMAXCMTLEN BUFSIZ
 typedef struct {
     unsigned int type;
@@ -189,9 +194,9 @@ typedef struct _xpmHashAtom {
 }      *xpmHashAtom;
 
 typedef struct {
-    int size;
-    int limit;
-    int used;
+    unsigned int size;
+    unsigned int limit;
+    unsigned int used;
     xpmHashAtom *atomTable;
 }      xpmHashTable;
 
