diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-06 21:24:52 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-07 05:25:19 +0000 |
commit | 949b9ba75533355376f06ebdb6027a660e4f1a6f (patch) | |
tree | 3bc20e6fee6c098614b032c3b77010e23eaf73ae /ui/gtk/capture_if_dlg.c | |
parent | 69a81b02f52a53887fd5c7cbd00b6c2873fd72dc (diff) |
Don't include much of anything if HAVE_LIBPCAP isn't defined.
We don't need it.
Change-Id: Idca29cbd7208c388a1f5d4e2b0131f5cfddc7896
Reviewed-on: https://code.wireshark.org/review/13096
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/capture_if_dlg.c')
-rw-r--r-- | ui/gtk/capture_if_dlg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/gtk/capture_if_dlg.c b/ui/gtk/capture_if_dlg.c index 87eb0a9554..53ec896e0b 100644 --- a/ui/gtk/capture_if_dlg.c +++ b/ui/gtk/capture_if_dlg.c @@ -22,6 +22,10 @@ #include "config.h" +#include <glib.h> + +#ifdef HAVE_LIBPCAP + #include <string.h> #include <epan/prefs.h> @@ -62,8 +66,6 @@ #include "ui/gtk/old-gtk-compat.h" -#ifdef HAVE_LIBPCAP - #ifdef HAVE_AIRPCAP #include "../../image/toolbar/capture_airpcap_16.xpm" #endif |