diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-08-01 17:33:05 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-08-01 20:11:03 +0000 |
commit | a98b55f4f842d580c38bde35d37d907d0d115ccd (patch) | |
tree | b09734b0d5a07ba1482f6afe4f3d8806539e7626 | |
parent | edcc2f019e3729293d9410e1bb30dae6bc9b790a (diff) |
Fix compilation without extcap.
Change-Id: I627dd6c514066ba67cd501925ff95e9cf819c0e9
Reviewed-on: https://code.wireshark.org/review/16828
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r-- | dumpcap.c | 4 | ||||
-rw-r--r-- | wireshark-qt.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1472,8 +1472,8 @@ cap_pipe_open_live(char *pipename, #endif #ifdef HAVE_EXTCAP gboolean extcap_pipe = FALSE; -#endif interface_options interface_opts; +#endif ssize_t b; int fd = -1, sel_ret; size_t bytes_read; @@ -1501,7 +1501,9 @@ cap_pipe_open_live(char *pipename, } } else { +#ifdef HAVE_EXTCAP interface_opts = g_array_index(global_capture_opts.ifaces, interface_options, 0); +#endif #ifndef _WIN32 #ifdef HAVE_EXTCAP diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index d32dfeb23b..22ceaa9d64 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -88,6 +88,7 @@ #include "ui/simple_dialog.h" #include "ui/util.h" #include "ui/commandline.h" +#include "ui/capture_ui_utils.h" #include "ui/qt/conversation_dialog.h" #include "ui/qt/color_utils.h" |