aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcap.c b/pcap.c
index b0cf5f0..8c5959f 100644
--- a/pcap.c
+++ b/pcap.c
@@ -43,6 +43,14 @@ static const char rcsid[] _U_ =
#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 */