aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/capture-wpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-12 01:46:33 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-12 08:48:48 +0000
commitf9f539ce812753753d2b54e96c6bb8ab3a24eb63 (patch)
tree1c7fbc863b707bebabb76f4205146d1910f5433c /caputils/capture-wpcap.c
parent65227b3e826ee731ceeda838195e05d4a919daf2 (diff)
Include caputils/capture-wpcap.h whether HAVE_LIBPCAP is defined or not.
It declares what's defined here, so always include it. Change-Id: I1d7d5ed071e6f2d53af9ff147ede18b05b98ecd1 Reviewed-on: https://code.wireshark.org/review/21616 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils/capture-wpcap.c')
-rw-r--r--caputils/capture-wpcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/caputils/capture-wpcap.c b/caputils/capture-wpcap.c
index d23a77dac4..eeece46703 100644
--- a/caputils/capture-wpcap.c
+++ b/caputils/capture-wpcap.c
@@ -31,6 +31,8 @@
#include <stdio.h>
#include <glib.h>
+#include "caputils/capture-wpcap.h"
+
gboolean has_wpcap = FALSE;
#ifdef HAVE_LIBPCAP
@@ -42,7 +44,6 @@ gboolean has_wpcap = FALSE;
#include "caputils/capture_ifinfo.h"
#include "caputils/capture-pcap-util.h"
#include "caputils/capture-pcap-util-int.h"
-#include "caputils/capture-wpcap.h"
#include <wsutil/file_util.h>