]> The Tcpdump Group git mirrors - libpcap/blobdiff - gencode.c
Put the stuff to get the sized integer types defined into pcap-types.h.
[libpcap] / gencode.c
index 49011de2190006fd2217423b650b7ac537b3b489..f0ad3426ce86cfdf45432946d6176ff309374257 100644 (file)
--- a/gencode.c
+++ b/gencode.c
 #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>
 #include <sys/socket.h>
 #endif /* _WIN32 */