diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-20 20:29:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-20 20:29:28 +0000 |
commit | d40820124b6910edd03ca83bdb2f5f5e32a3dd67 (patch) | |
tree | 159142afb5a14312dda52242412864b11f9fe346 /gtk | |
parent | 5984e4ba9562c1215df3c2eebfac8ed356c44fbe (diff) | |
download | wireshark-d40820124b6910edd03ca83bdb2f5f5e32a3dd67.tar.gz wireshark-d40820124b6910edd03ca83bdb2f5f5e32a3dd67.tar.bz2 wireshark-d40820124b6910edd03ca83bdb2f5f5e32a3dd67.zip |
On Windows, include "capture-wpcap.h", to define "has_wpcap".
svn path=/trunk/; revision=5209
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/prefs_dlg.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 <gerald@ethereal.com> @@ -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); |