aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-02 19:33:14 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-02 19:33:14 +0000
commit37aa82160348e03516781bd0dd252cee3362fb0a (patch)
treee0cf7634ed7cfd972f2ca9062ab662a22884c2ca /gtk/capture_dlg.c
parent33955595327763c20f4113fee9aa8d9ff6a06db5 (diff)
downloadwireshark-37aa82160348e03516781bd0dd252cee3362fb0a.tar.gz
wireshark-37aa82160348e03516781bd0dd252cee3362fb0a.tar.bz2
wireshark-37aa82160348e03516781bd0dd252cee3362fb0a.zip
Wrap stufff that's used only if we have "libpcap" in "#ifdef
HAVE_LIBPCAP"/"#endif". svn path=/trunk/; revision=754
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r--gtk/capture_dlg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c
index 0509c6bd28..c1b0112dbb 100644
--- a/gtk/capture_dlg.c
+++ b/gtk/capture_dlg.c
@@ -1,7 +1,7 @@
/* capture_dlg.c
* Routines for packet capture windows
*
- * $Id: capture_dlg.c,v 1.7 1999/10/02 07:13:20 guy Exp $
+ * $Id: capture_dlg.c,v 1.8 1999/10/02 19:33:14 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,6 +28,8 @@
# include "config.h"
#endif
+#ifdef HAVE_LIBPCAP
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -525,4 +527,4 @@ free_if_cb(gpointer data, gpointer user_data)
g_free(data);
}
-
+#endif /* HAVE_LIBPCAP */