From 1b222b8b6583dd3bd261a3f83e9d37e5b81cfd79 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 5 Jan 2016 16:37:58 -0800 Subject: Remove unnecessary #ifdef and includes. We don't check HAVE_LIBPCAP elsewhere, and we do use GLib functions, but don't use the GLib dynamic-loading APIs ourselves, and don't appear to use anything from libpcap or libwiretap, so include only and include it unconditionally. Change-Id: I97f06f56b7d87c671c0aaea1a0e60f2df7adfbd1 Reviewed-on: https://code.wireshark.org/review/13067 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- caputils/airpcap_loader.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'caputils/airpcap_loader.c') diff --git a/caputils/airpcap_loader.c b/caputils/airpcap_loader.c index 0c77b626c3..4501d5d45f 100644 --- a/caputils/airpcap_loader.c +++ b/caputils/airpcap_loader.c @@ -24,14 +24,7 @@ #include "config.h" -#ifdef HAVE_LIBPCAP #include -#include - -#include - -#include -#endif #include #include -- cgit v1.2.3