jdk/src/share/native/sun/security/ec/impl/ecc_impl.h
changeset 12047 320a714614e9
parent 9774 50a2b28ca54c
child 14342 8435a30053c1
--- a/jdk/src/share/native/sun/security/ec/impl/ecc_impl.h	Tue Mar 06 10:25:45 2012 +0800
+++ b/jdk/src/share/native/sun/security/ec/impl/ecc_impl.h	Tue Mar 06 20:34:38 2012 +0000
@@ -57,6 +57,14 @@
 typedef enum { B_FALSE, B_TRUE } boolean_t;
 #endif /* __linux__ */
 
+#ifdef _ALLBSD_SOURCE
+#include <stdint.h>
+#define B_FALSE FALSE
+#define B_TRUE TRUE
+typedef unsigned long ulong_t;
+typedef enum boolean { B_FALSE, B_TRUE } boolean_t;
+#endif /* _ALLBSD_SOURCE */
+
 #ifdef _WIN32
 typedef unsigned char uint8_t;
 typedef unsigned long ulong_t;