From d40820124b6910edd03ca83bdb2f5f5e32a3dd67 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 20 Apr 2002 20:29:28 +0000 Subject: On Windows, include "capture-wpcap.h", to define "has_wpcap". svn path=/trunk/; revision=5209 --- gtk/prefs_dlg.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gtk/prefs_dlg.c') diff --git a/gtk/prefs_dlg.c b/gtk/prefs_dlg.c index 25d12ac1e6..98b67ce3cd 100644 --- a/gtk/prefs_dlg.c +++ b/gtk/prefs_dlg.c @@ -1,7 +1,7 @@ /* prefs_dlg.c * Routines for handling preferences * - * $Id: prefs_dlg.c,v 1.45 2002/04/19 20:49:28 guy Exp $ + * $Id: prefs_dlg.c,v 1.46 2002/04/20 20:29:28 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -65,6 +65,12 @@ #include "prefs-int.h" +#ifdef HAVE_LIBPCAP +#ifdef WIN32 +#include "capture-wpcap.h" +#endif /* _WIN32 */ +#endif /* HAVE_LIBPCAP */ + static void prefs_main_ok_cb(GtkWidget *, gpointer); static void prefs_main_apply_cb(GtkWidget *, gpointer); static void prefs_main_save_cb(GtkWidget *, gpointer); -- cgit v1.2.3