$OpenBSD: patch-jdk_src_solaris_javavm_include_typedefs_md_h,v 1.1 2013/02/01 15:34:35 kurt Exp $
--- jdk/src/solaris/javavm/include/typedefs_md.h.orig	Mon Jan 28 13:10:09 2013
+++ jdk/src/solaris/javavm/include/typedefs_md.h	Mon Jan 28 14:20:40 2013
@@ -33,7 +33,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifdef __linux__
+#if defined(__linux__) || defined(_ALLBSD_SOURCE)
 #include <stdint.h>
 #define HAVE_INTPTR_T
 #define _UINT64_T
