Commit 513b500f7565690e2d1b1cf9de2cf78993fc8a79

Authored by bellard
1 parent edf75d59

include stddef.h for size_t definition


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@515 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
dyngen-exec.h
@@ -20,6 +20,8 @@ @@ -20,6 +20,8 @@
20 #if !defined(__DYNGEN_EXEC_H__) 20 #if !defined(__DYNGEN_EXEC_H__)
21 #define __DYNGEN_EXEC_H__ 21 #define __DYNGEN_EXEC_H__
22 22
  23 +#include <stddef.h>
  24 +
23 typedef unsigned char uint8_t; 25 typedef unsigned char uint8_t;
24 typedef unsigned short uint16_t; 26 typedef unsigned short uint16_t;
25 typedef unsigned int uint32_t; 27 typedef unsigned int uint32_t;
@@ -56,6 +58,7 @@ typedef signed long long int64_t; @@ -56,6 +58,7 @@ typedef signed long long int64_t;
56 typedef struct FILE FILE; 58 typedef struct FILE FILE;
57 extern int fprintf(FILE *, const char *, ...); 59 extern int fprintf(FILE *, const char *, ...);
58 extern int printf(const char *, ...); 60 extern int printf(const char *, ...);
  61 +#undef NULL
59 #define NULL 0 62 #define NULL 0
60 #include <fenv.h> 63 #include <fenv.h>
61 64