From f9f539ce812753753d2b54e96c6bb8ab3a24eb63 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 12 May 2017 01:46:33 -0700 Subject: 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 --- caputils/capture-wpcap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'caputils') 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 #include +#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 -- cgit v1.2.1