aboutsummaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-15 18:33:42 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-15 18:33:42 +0000
commit128ab2ff50a85969d08d2dec0fd88accdd153bcb (patch)
tree58e3f83a26a0df04bd347789c0163e0ac6c0a5e9 /dyngen-exec.h
parent72c7b06cb7e0cfded2678d531c454fcac16c93c3 (diff)
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
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r--dyngen-exec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 4caf9ffb57..9260b6f442 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 int64_t;
typedef signed long long int64_t;
#endif
#endif
+#endif
/* XXX: This may be wrong for 64-bit ILP32 hosts. */
typedef void * host_reg_t;