diff options
author | 2008-08-15 18:33:42 +0000 | |
---|---|---|
committer | 2008-08-15 18:33:42 +0000 | |
commit | 128ab2ff50a85969d08d2dec0fd88accdd153bcb (patch) | |
tree | 58e3f83a26a0df04bd347789c0163e0ac6c0a5e9 /dyngen-exec.h | |
parent | Cancel IDE outstanding IO on device reset (Gleb Natapov) (diff) | |
download | qemu-kvm-128ab2ff50a85969d08d2dec0fd88accdd153bcb.tar.gz qemu-kvm-128ab2ff50a85969d08d2dec0fd88accdd153bcb.tar.bz2 qemu-kvm-128ab2ff50a85969d08d2dec0fd88accdd153bcb.zip |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h index 4caf9ffb5..9260b6f44 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; |