]> 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 04:28:51 +0000 (20:28 -0800)
committerGuy Harris <[email protected]>
Wed, 27 Jan 2010 04:28:51 +0000 (20:28 -0800)
optimize.c

index b147cf493cb11c8d963e621a7d97b39384186990..46dffec8a9cc7875283780de607042f7653712ca 100644 (file)
@@ -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 <stdio.h>
 #include <stdlib.h>
 #include <memory.h>