aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/gtk/main_welcome.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index d0454040ed..17b5641933 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -927,8 +927,7 @@ clear_capture_box(void)
if_view = NULL;
}
}
-#endif /* HAVE_LIBPCAP */
-#ifdef HAVE_LIBPCAP
+
static void fill_capture_box(void)
{
GtkWidget *box_to_fill;