aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-05-26 00:30:08 +0000
committerGerald Combs <gerald@wireshark.org>2009-05-26 00:30:08 +0000
commitcde5843a5dfae3a63e6d9f0f51bc10521f2a288d (patch)
tree1a693ea16910542922b919286cb2fc3866f65451 /file.c
parentea115662fd2ba6b63364b28c9f8ef1de2e594993 (diff)
Fix the build.
svn path=/trunk/; revision=28476
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index 74399d7a48..f63cd3ee1c 100644
--- a/file.c
+++ b/file.c
@@ -415,7 +415,9 @@ cf_read(capture_file *cf)
volatile gint64 progbar_nextstep;
volatile gint64 progbar_quantum;
dfilter_t *dfcode;
+#ifdef HAVE_LIBPCAP
volatile int displayed_once = 0;
+#endif
/* Compile the current display filter.
* We assume this will not fail since cf->dfilter is only set in