summaryrefslogtreecommitdiff
path: root/caputils/capture_wpcap_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'caputils/capture_wpcap_packet.c')
-rw-r--r--caputils/capture_wpcap_packet.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/caputils/capture_wpcap_packet.c b/caputils/capture_wpcap_packet.c
index 6d1b77cb11..eac5ca7c5d 100644
--- a/caputils/capture_wpcap_packet.c
+++ b/caputils/capture_wpcap_packet.c
@@ -30,19 +30,7 @@
#include <glib.h>
#include <gmodule.h>
-#ifdef HAVE_PCAP_REMOTE
-/*
- * Force the WinPcap header files to define things required for remote
- * capture. (Yes, this is q WinPcap bug; if your project has a public
- * header file that checks or otherwise uses a #define that's defined
- * by your project's configuration process, and don't ensure that
- * it's always defined appropriately when that header file is included,
- * before its first use, you have made a mistake.)
- */
-#define HAVE_REMOTE
-#endif
-
-#include <pcap.h>
+#include <wsutil/wspcap.h>
/* XXX - yes, I know, I should move cppmagic.h to a generic location. */
#include "tools/lemon/cppmagic.h"