summaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-04 17:44:08 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-04 17:44:08 +0000
commit513b500f7565690e2d1b1cf9de2cf78993fc8a79 (patch)
treef8f462294da0755d56ce529f33a37927ae67b6d7 /dyngen-exec.h
parentedf75d592cf7ec0ed8286f1900b0d1d567477c52 (diff)
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>