Compiling on Mac OS X 10.2 doesn't define uint8_t using the standard headers.

Including stdint.h should be safe, but if it clashes, we could put an OS X
specific wrapper around it: #if (defined(__MACH__) && defined(__APPLE__))
This commit is contained in:
nigel 2005-12-30 01:19:53 +00:00
parent 5d09d2b6c4
commit 641fa2c01e

View File

@ -41,6 +41,9 @@ typedef char *caddr_t;
#ifdef HAVE_SYS_BITYPES_H
# include <sys/bitypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include <sys/time.h>