summaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se::common::gdefs_md.h
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk16/files/patch-j2se::common::gdefs_md.h')
-rw-r--r--java/jdk16/files/patch-j2se::common::gdefs_md.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-j2se::common::gdefs_md.h b/java/jdk16/files/patch-j2se::common::gdefs_md.h
new file mode 100644
index 000000000000..cb105629578a
--- /dev/null
+++ b/java/jdk16/files/patch-j2se::common::gdefs_md.h
@@ -0,0 +1,14 @@
+$FreeBSD$
+
+--- ../../j2se/src/solaris/native/common/gdefs_md.h.orig Sun Mar 20 22:14:34 2005
++++ ../../j2se/src/solaris/native/common/gdefs_md.h Sun Mar 20 22:15:13 2005
+@@ -19,5 +19,9 @@
+ #include <malloc.h>
+ #endif /* __linux__ */
+ #ifdef _ALLBSD_SOURCE
++#if defined(__FreeBSD__) && __FreeBSD__ < 5
++#include <inttypes.h>
++#else
+ #include <stdint.h>
++#endif
+ #endif /* _ALLBSD_SOURCE */