summaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
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;