$OpenBSD: patch-hotspot_src_share_vm_utilities_globalDefinitions_gcc_hpp,v 1.3 2006/01/22 22:46:31 kurt Exp $
--- hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp.orig	Thu Jan 19 22:57:17 2006
+++ hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Thu Jan 19 23:09:39 2006
@@ -42,24 +42,14 @@
 # include <sys/procfs.h>
 # endif
 
-#ifdef __OpenBSD__
-// XXX Fix hotspot datatype problems later and remove this hack
-// #include <inttypes.h>
-#define _INTTYPES_H_
- 
-/* Machine type dependent parameters. */
-#include <machine/types.h>
-
-typedef int                    intptr_t;
-typedef unsigned int           uintptr_t;
-#else
 #if defined(LINUX) || defined(_ALLBSD_SOURCE)
   #include <inttypes.h>
   #include <signal.h>
+#ifndef __OpenBSD__
   #include <ucontext.h>
+#endif
   #include <sys/time.h>
 #endif // LINUX || _ALLBSD_SOURCE
-#endif
 
 // 4810578: varargs unsafe on 32-bit integer/64-bit pointer architectures
 // When __cplusplus is defined, NULL is defined as 0 (32-bit constant) in
