$OpenBSD: patch-jdk_src_share_native_sun_security_ec_impl_ecc_impl_h,v 1.1 2011/01/11 15:47:50 kurt Exp $
--- jdk/src/share/native/sun/security/ec/impl/ecc_impl.h.orig	Tue Oct 26 10:51:24 2010
+++ jdk/src/share/native/sun/security/ec/impl/ecc_impl.h	Tue Oct 26 10:51:31 2010
@@ -78,6 +78,14 @@ typedef unsigned long ulong_t;
 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;
