summaryrefslogtreecommitdiff
path: root/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c b/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
new file mode 100644
index 000000000000..103979ff3a17
--- /dev/null
+++ b/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
@@ -0,0 +1,14 @@
+--- native/jni/gtk-peer/gthread-jni.c.orig Mon Oct 25 15:42:21 2004
++++ native/jni/gtk-peer/gthread-jni.c Mon Oct 25 15:45:31 2004
+@@ -218,7 +218,11 @@
+ /* Global data */
+ /************************************************************************/
+
++#if __FreeBSD_version < 500000
++#include <inttypes.h>
++#else
+ #include <stdint.h> /* provides intptr_t */
++#endif
+ #include <stdarg.h> /* va_list */
+ #include "gthread-jni.h"
+ #include <assert.h> /* assert() */