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 <glib.h> and
include it unconditionally.

Change-Id: I97f06f56b7d87c671c0aaea1a0e60f2df7adfbd1
Reviewed-on: https://code.wireshark.org/review/13067
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-01-05 16:37:58 -08:00
parent 4ae3543a3d
commit 1b222b8b65
1 changed files with 0 additions and 7 deletions

View File

@ -24,14 +24,7 @@
#include "config.h"
#ifdef HAVE_LIBPCAP
#include <glib.h>
#include <gmodule.h>
#include <pcap.h>
#include <wiretap/wtap.h>
#endif
#include <epan/crypt/airpdcap_ws.h>
#include <epan/strutil.h>