diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-03 02:16:12 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-03 09:16:39 +0000 |
commit | 1692c520ef8ffec43c2c86456e03edd547b0e9a4 (patch) | |
tree | 60b2cc2fe825e156b5fb6dc4bf83a3d9dff77ade /rawshark.c | |
parent | edc67362936f6e23ca0a630e6321563395a91e35 (diff) |
Include "capture-pcap-util.h" even if we don't have libpcap.
The routines to get libpcap version information just say "no pcap here"
if we don't have it, so they're called regardless of whether we were
compiled with it.
Change-Id: I4e58cce83f7c0e36aa6ef9b40ec7075732402f3b
Reviewed-on: https://code.wireshark.org/review/2800
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c index b67cc06749..0661d61272 100644 --- a/rawshark.c +++ b/rawshark.c @@ -111,9 +111,10 @@ #include <wsutil/clopts_common.h> #include <wsutil/ws_version_info.h> +#include "capture-pcap-util.h" + #ifdef HAVE_LIBPCAP #include <setjmp.h> -#include "capture-pcap-util.h" #ifdef _WIN32 #include "capture-wpcap.h" #endif /* _WIN32 */ |