aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_welcome.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-03-20 23:03:48 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-03-20 23:03:48 +0000
commit24298dca4870a393db284985d95647a49332870e (patch)
tree75f6fae8e28d097eadfd0ad29f90b919a6edfc81 /ui/gtk/main_welcome.c
parent14e0bdf07e45938b31e597f0b8fb5cedf77dd2a1 (diff)
See if this fixes the OSX build
svn path=/trunk/; revision=41690
Diffstat (limited to 'ui/gtk/main_welcome.c')
-rw-r--r--ui/gtk/main_welcome.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index 1488968cfd..d0454040ed 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -903,6 +903,7 @@ add_interface_to_list(guint index)
}
#endif
+#ifdef HAVE_LIBPCAP
static void
clear_capture_box(void)
{
@@ -926,7 +927,7 @@ clear_capture_box(void)
if_view = NULL;
}
}
-
+#endif /* HAVE_LIBPCAP */
#ifdef HAVE_LIBPCAP
static void fill_capture_box(void)
{