diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-01-26 23:18:30 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-01-26 23:18:30 -0800 |
commit | a52a49b5822ce86c281154bc6c05014587dbb159 (patch) | |
tree | 35b691ca3bd51b91a27d13cc65c42532f1defc69 | |
parent | c9d96098095ef3e5fd99e8badcc9dbde4853cc5c (diff) |
Include headers that should cause u_int64_t to be defined.
-rw-r--r-- | etherent.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -28,7 +28,19 @@ 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 <memory.h> |