summaryrefslogtreecommitdiffstats
path: root/dyngen-exec.h
diff options
context:
space:
mode:
authorbellard2004-01-04 18:44:08 +0100
committerbellard2004-01-04 18:44:08 +0100
commit513b500f7565690e2d1b1cf9de2cf78993fc8a79 (patch)
treef8f462294da0755d56ce529f33a37927ae67b6d7 /dyngen-exec.h
parentexport more memory defines (diff)
downloadqemu-513b500f7565690e2d1b1cf9de2cf78993fc8a79.tar.gz
qemu-513b500f7565690e2d1b1cf9de2cf78993fc8a79.tar.xz
qemu-513b500f7565690e2d1b1cf9de2cf78993fc8a79.zip
include stddef.h for size_t definition
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@515 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r--dyngen-exec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 2b8ba3a3ef..da23e0e6a6 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -20,6 +20,8 @@
#if !defined(__DYNGEN_EXEC_H__)
#define __DYNGEN_EXEC_H__
+#include <stddef.h>
+
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
@@ -56,6 +58,7 @@ typedef signed long long int64_t;
typedef struct FILE FILE;
extern int fprintf(FILE *, const char *, ...);
extern int printf(const char *, ...);
+#undef NULL
#define NULL 0
#include <fenv.h>