diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/capture_if_dlg.c | 2 | ||||
-rw-r--r-- | ui/gtk/main.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/gtk/capture_if_dlg.c b/ui/gtk/capture_if_dlg.c index 187b704662..99461a4823 100644 --- a/ui/gtk/capture_if_dlg.c +++ b/ui/gtk/capture_if_dlg.c @@ -22,6 +22,8 @@ #include "config.h" +#include "ws_attributes.h" + #include <glib.h> #ifdef HAVE_LIBPCAP diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 8214139455..11c90e6dfe 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -1989,6 +1989,7 @@ main(int argc, char *argv[]) int err; #ifdef HAVE_LIBPCAP gchar *err_str; + int caps_queries = 0; #else #ifdef _WIN32 #ifdef HAVE_AIRPCAP @@ -1996,7 +1997,6 @@ main(int argc, char *argv[]) #endif #endif #endif - int caps_queries = 0; gint pl_size = 280, tv_size = 95, bv_size = 75; gchar *rc_file; dfilter_t *rfcode = NULL; |