$OpenBSD: patch-hotspot_src_share_vm_adlc_adlc_hpp,v 1.1.1.1 2007/05/08 17:06:19 kurt Exp $
--- hotspot/src/share/vm/adlc/adlc.hpp.orig	Tue Apr 10 04:01:37 2007
+++ hotspot/src/share/vm/adlc/adlc.hpp	Mon Apr 16 08:42:39 2007
@@ -76,9 +76,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
