summaryrefslogtreecommitdiff
path: root/src/common/cbasetypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cbasetypes.h')
-rw-r--r--src/common/cbasetypes.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index ae6430a62..00296588e 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -136,9 +136,8 @@ typedef unsigned long int ppuint32;
//////////////////////////////////////////////////////////////////////////
// integer with exact processor width (and best speed)
-// size_t already defined in stdio.h
//////////////////////////////
-#include <string.h>// size_t
+#include <stddef.h> // size_t
#if defined(WIN32) && !defined(MINGW) // does not have a signed size_t
//////////////////////////////
@@ -308,5 +307,4 @@ typedef char bool;
#define TOLOWER(c) (tolower((unsigned char)(c)))
#define TOUPPER(c) (toupper((unsigned char)(c)))
-
#endif /* _CBASETYPES_H_ */