freebsd-ports/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
2004-10-25 13:56:34 +00:00

14 lines
476 B
C

--- 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() */