diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-10-10 03:32:20 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-10-10 03:32:20 +0000 |
commit | 1b26a7cdb777972eb23d0d7d0b320855c1a03877 (patch) | |
tree | 9232afabf0abc9a8e5f5243798fbcc25d4aaa725 /capture.c | |
parent | 54945ddd046378b83ea09c45c3c42293d20a0d77 (diff) |
* OSPF alignment fixes (Gerald)
* FDDI support (Laurent, Guy)
svn path=/trunk/; revision=36
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.4 1998/09/29 21:39:28 hannes Exp $ + * $Id: capture.c,v 1.5 1998/10/10 03:32:02 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -23,10 +23,15 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifdef HAVE_CONFIG_H # include "config.h" #endif +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #include <gtk/gtk.h> #include <pcap.h> @@ -35,6 +40,10 @@ #include <sys/ioctl.h> #include <net/if.h> +#ifdef NEED_SNPRINTF_H +# include "snprintf.h" +#endif + #ifdef HAVE_SYS_SOCKIO_H # include <sys/sockio.h> #endif @@ -289,7 +298,6 @@ cap_prep_fs_cancel_cb(GtkWidget *w, gpointer data) { void capture_prep_ok_cb(GtkWidget *w, gpointer data) { GtkWidget *if_cb, *file_te, *count_cb, *open_ck, *snap_sb; - gchar *file; gint open; if_cb = (GtkWidget *) gtk_object_get_data(GTK_OBJECT(data), cap_iface_key); |