aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>