better check for stdint.h

This commit is contained in:
Josh Coalson
2008-11-29 21:01:20 +00:00
parent 7ae181f27c
commit 290c3f7a14

View File

@@ -28,7 +28,7 @@
*/ */
#include <limits.h> /* for SIZE_MAX */ #include <limits.h> /* for SIZE_MAX */
#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__ #if HAVE_STDINT_H
#include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */ #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
#endif #endif
#include <stdlib.h> /* for size_t, malloc(), etc */ #include <stdlib.h> /* for size_t, malloc(), etc */