summaryrefslogtreecommitdiff
path: root/etherent.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-01-26 23:18:30 -0800
committerGuy Harris <guy@alum.mit.edu>2010-01-26 23:18:30 -0800
commita52a49b5822ce86c281154bc6c05014587dbb159 (patch)
tree35b691ca3bd51b91a27d13cc65c42532f1defc69 /etherent.c
parentc9d96098095ef3e5fd99e8badcc9dbde4853cc5c (diff)
downloadlibpcap-a52a49b5822ce86c281154bc6c05014587dbb159.tar.gz
Include headers that should cause u_int64_t to be defined.
Diffstat (limited to 'etherent.c')
-rw-r--r--etherent.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/etherent.c b/etherent.c
index b3cf4da2..d9de1146 100644
--- a/etherent.c
+++ b/etherent.c
@@ -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>