aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_info_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-17 00:27:33 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-17 00:27:33 +0000
commit02a954efe351b77495326ccb1690576e7ea1a8b4 (patch)
treeda2cbd3d89488c9296abfd1a0b55f001b1b61dbd /gtk/capture_info_dlg.c
parentd9ad0a20621895aee972f697fc3c4e78e6337a17 (diff)
"capture()" takes a "struct pcap_stat *" argument, so you need to
include <pcap.h> before including "capture.h". Include "dlg_utils.h" to declare "dlg_set_cancel()". svn path=/trunk/; revision=8981
Diffstat (limited to 'gtk/capture_info_dlg.c')
-rw-r--r--gtk/capture_info_dlg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/capture_info_dlg.c b/gtk/capture_info_dlg.c
index 6d202ea571..351968959e 100644
--- a/gtk/capture_info_dlg.c
+++ b/gtk/capture_info_dlg.c
@@ -1,7 +1,7 @@
/* capture_info_dlg.c
* Routines for packet capture info dialog
*
- * $Id: capture_info_dlg.c,v 1.1 2003/11/15 08:53:56 ulfl Exp $
+ * $Id: capture_info_dlg.c,v 1.2 2003/11/17 00:27:33 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -33,12 +33,13 @@
#include <time.h>
+#include <pcap.h>
#include <epan/packet.h>
#include "../capture.h"
#include "globals.h"
#include "capture_combo_utils.h"
-
+#include "dlg_utils.h"
/* a single capture counter value (with title, pointer to value and GtkWidgets) */
/* as the packet_counts is a struct, not an array, keep a pointer to the */