diff options
Diffstat (limited to 'caputils/capture-wpcap.c')
-rw-r--r-- | caputils/capture-wpcap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/caputils/capture-wpcap.c b/caputils/capture-wpcap.c index deff5f9da5..d23a77dac4 100644 --- a/caputils/capture-wpcap.c +++ b/caputils/capture-wpcap.c @@ -30,6 +30,11 @@ #include <stdio.h> #include <glib.h> + +gboolean has_wpcap = FALSE; + +#ifdef HAVE_LIBPCAP + #include <gmodule.h> #include <epan/strutil.h> @@ -46,11 +51,6 @@ #define MAX_WIN_IF_NAME_LEN 511 - -gboolean has_wpcap = FALSE; - -#ifdef HAVE_LIBPCAP - /* * XXX - should we require at least WinPcap 3.1 both for building an * for using Wireshark? |