diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-01-27 00:56:18 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-01-27 00:56:18 -0800 |
commit | 1f436f90eb4032510db29002f4a7a7d652065037 (patch) | |
tree | a121491fc6891cc941eea909629e6cf74dc44808 | |
parent | c69ec3857b9b0995d620244ee7a7ee8b25789639 (diff) |
Include headers that should cause u_int64_t to be defined.
-rw-r--r-- | scanner.l | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -29,6 +29,20 @@ static const char rcsid[] _U_ = #include "config.h" #endif +#ifdef WIN32 +#include <pcap-stdinc.h> +#else /* WIN32 */ +#if HAVE_INTTYPES_H +#include <inttypes.h> +#elif HAVE_STDINT_H +#include <stdint.h> +#endif +#ifdef HAVE_SYS_BITYPES_H +#include <sys/bitypes.h> +#endif +#include <sys/types.h> +#endif /* WIN32 */ + #include <ctype.h> #include <string.h> |