summaryrefslogtreecommitdiff
path: root/java/sablevm/files/patch-sablevm-classpath-1.1.6-20040726
blob: 2209bbb84c81c138d19cc616d47f3ccf08883ef1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ../sablevm-classpath-1.1.6/native/jni/gtk-peer/gthread-jni.c	Mon Jul 19 08:49:17 2004
+++ ../sablevm-classpath-1.1.6/native/jni/gtk-peer/gthread-jni.c	Mon Jul 26 16:22:55 2004
@@ -218,7 +218,11 @@
 /* Global data				     				*/
 /************************************************************************/
 
+#if defined HAVE_STDINT_H
 #include <stdint.h>		/* provides intptr_t */
+#elif defined HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
 #include <stdarg.h>		/* va_list */
 #include "gthread-jni.h"
 #include <assert.h>		/* assert() */