$OpenBSD: patch-hotspot_src_share_vm_adlc_adlc_hpp,v 1.3 2009/01/04 23:25:16 kurt Exp $
--- hotspot/src/share/vm/adlc/adlc.hpp.orig	Thu Jul 17 03:40:31 2008
+++ hotspot/src/share/vm/adlc/adlc.hpp	Sat Aug  2 16:12:52 2008
@@ -69,9 +69,9 @@ typedef unsigned int uintptr_t;
 #endif
 #endif // _WIN32
 
-#ifdef LINUX
+#if defined(LINUX) || defined(_ALLBSD_SOURCE)
   #include <inttypes.h>
-#endif // LINUX
+#endif // LINUX || _ALLBSD_SOURCE
 
 // Macros
 #define uint32 unsigned int
