aboutsummaryrefslogtreecommitdiffstats
path: root/bpf_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'bpf_image.c')
-rw-r--r--bpf_image.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/bpf_image.c b/bpf_image.c
index 2cf581a..e2f1a77 100644
--- a/bpf_image.c
+++ b/bpf_image.c
@@ -28,6 +28,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 <string.h>