diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-03 02:16:12 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-03 09:16:39 +0000 |
commit | 1692c520ef8ffec43c2c86456e03edd547b0e9a4 (patch) | |
tree | 60b2cc2fe825e156b5fb6dc4bf83a3d9dff77ade /ui | |
parent | edc67362936f6e23ca0a630e6321563395a91e35 (diff) | |
download | wireshark-1692c520ef8ffec43c2c86456e03edd547b0e9a4.tar.gz |
Include "capture-pcap-util.h" even if we don't have libpcap.
The routines to get libpcap version information just say "no pcap here"
if we don't have it, so they're called regardless of whether we were
compiled with it.
Change-Id: I4e58cce83f7c0e36aa6ef9b40ec7075732402f3b
Reviewed-on: https://code.wireshark.org/review/2800
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/main.c | 3 | ||||
-rw-r--r-- | ui/qt/main.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 77286dd980..d809cc19c7 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -130,8 +130,9 @@ #include "codecs/codecs.h" -#ifdef HAVE_LIBPCAP #include "capture-pcap-util.h" + +#ifdef HAVE_LIBPCAP #include <capchild/capture_ifinfo.h> #include "ui/capture.h" #include <capchild/capture_sync.h> diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp index e6804ea22a..f509f79f8a 100644 --- a/ui/qt/main.cpp +++ b/ui/qt/main.cpp @@ -105,8 +105,9 @@ #include "ui/simple_dialog.h" #include "ui/ui_util.h" +#include "capture-pcap-util.h" + #ifdef HAVE_LIBPCAP -# include "capture-pcap-util.h" # include <capchild/capture_ifinfo.h> # include "ui/capture.h" # include <capchild/capture_sync.h> |