aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture-pcap-util.h')
-rw-r--r--capture-pcap-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture-pcap-util.h b/capture-pcap-util.h
index fa16c5c74e..781979e05e 100644
--- a/capture-pcap-util.h
+++ b/capture-pcap-util.h
@@ -27,12 +27,12 @@
#ifdef HAVE_LIBPCAP
+#include <pcap.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <pcap.h>
-
/*
* A snapshot length of 0 is useless - and libpcap/WinPcap don't guarantee
* that a snapshot length of 0 will work, and, on some platforms, it won't