[Commit] libic/src ic.h,1.16,1.17

Carl Worth commit at keithp.com
Tue Sep 2 14:36:19 PDT 2003


Committed by: cworth

Update of /local/src/CVS/libic/src
In directory home.keithp.com:/tmp/cvs-serv4451/src

Modified Files:
	ic.h 
Log Message:
Portability fix for OpenBSD (from Michael Schubert)

Index: ic.h
===================================================================
RCS file: /local/src/CVS/libic/src/ic.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ic.h	31 Jul 2003 17:00:09 -0000	1.16
+++ ic.h	2 Sep 2003 20:36:17 -0000	1.17
@@ -28,7 +28,11 @@
 #if defined (__SVR4) && defined (__sun)
 # include <sys/int_types.h>
 #else
-# include <stdint.h>
+# if defined (__OpenBSD__)
+#  include <inttypes.h>
+# else 
+#  include <stdint.h>
+# endif
 #endif
 
 #include <pixregion.h>




More information about the Commit mailing list