]> The Tcpdump Group git mirrors - libpcap/blobdiff - optimize.c
Put the stuff to get the sized integer types defined into pcap-types.h.
[libpcap] / optimize.c
index 21c9cd97b1a362b42036d041e16e10c172e16460..4d5834e5843a75c2c038624c724c32db6b7fc26f 100644 (file)
 #include <config.h>
 #endif
 
+#include <pcap-types.h>
 #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>