Preliminary OpenBSD host support (based on OpenBSD patches by Todd T. Fries)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5012 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 4caf9ff..9260b6f 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -32,6 +32,9 @@
host headers do not allow that. */
#include <stddef.h>
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#else
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
@@ -61,6 +64,7 @@
typedef signed long long int64_t;
#endif
#endif
+#endif
/* XXX: This may be wrong for 64-bit ILP32 hosts. */
typedef void * host_reg_t;