]> The Tcpdump Group git mirrors - libpcap/commitdiff
Include headers that should cause u_int64_t to be defined.
authorGuy Harris <[email protected]>
Wed, 27 Jan 2010 07:18:30 +0000 (23:18 -0800)
committerGuy Harris <[email protected]>
Wed, 27 Jan 2010 07:18:30 +0000 (23:18 -0800)
etherent.c

index b3cf4da2e40789e8625b07badd103f986a2a645f..d9de11467e83704bce87084c406e4f2bac068801 100644 (file)
@@ -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>