summaryrefslogtreecommitdiff
path: root/java/jc/files/patch-classpath-0.10-20040726
blob: b31f85931cd420593ac709982c101da9cb4b8065 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- classpath-0.10/native/jni/gtk-peer/gthread-jni.c	Mon Jul 19 08:49:17 2004
+++ classpath-0.10/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() */