aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-02 19:24:27 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-02 19:24:27 +0000
commit33955595327763c20f4113fee9aa8d9ff6a06db5 (patch)
treed5c9886cf4a5f44e86641f7ac287dc4abe102bda /gtk
parent3d597048777b2fc444795b46e5d5024aa30462d1 (diff)
Move the declaration of global variables involved with packet capture
from "globals.h" to "capture.h". Only "capture.c" needs to include <pcap.h>; move the include of <pcap.h> from "capture.h" to "capture.c". We no longer need any DLT_ defines (that's handled inside Wiretap); remove the defines of DLT_ from "capture.h". svn path=/trunk/; revision=753
Diffstat (limited to 'gtk')
-rw-r--r--gtk/file_dlg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/file_dlg.c b/gtk/file_dlg.c
index 72c3a9ab70..bcd3a1931a 100644
--- a/gtk/file_dlg.c
+++ b/gtk/file_dlg.c
@@ -1,7 +1,7 @@
/* file_dlg.c
* Dialog boxes for handling files
*
- * $Id: file_dlg.c,v 1.4 1999/09/23 07:20:20 guy Exp $
+ * $Id: file_dlg.c,v 1.5 1999/10/02 19:24:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -57,6 +57,10 @@
#include "menu.h"
#endif
+#ifdef HAVE_LIBPCAP
+#include "capture.h"
+#endif
+
static void file_open_ok_cb(GtkWidget *w, GtkFileSelection *fs);
static void file_save_ok_cb(GtkWidget *w, GtkFileSelection *fs);
static void file_save_as_ok_cb(GtkWidget *w, GtkFileSelection *fs);