aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/main_welcome.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c
index 880d0a0cf7..1ef80784e8 100644
--- a/gtk/main_welcome.c
+++ b/gtk/main_welcome.c
@@ -564,6 +564,7 @@ main_welcome_add_recent_capture_files(const char *widget_cf_name)
gtk_widget_show_all(child_box);
}
+#ifdef HAVE_LIBPCAP
static gboolean select_current_ifaces(GtkTreeModel *model,
GtkTreePath *path _U_,
GtkTreeIter *iter,
@@ -584,6 +585,7 @@ static gboolean select_current_ifaces(GtkTreeModel *model,
}
return FALSE;
}
+#endif
/* list the interfaces */
void