Don't include <wsutil/wspcap.h> if we're not building with libpcap.
We don't need it and, if there *is* no pcap.h header, because the pcap headers aren't installed, it won't compile. Bug: 15317 Change-Id: Ie2a107f6117aad8f87943cd72269211f13b71142 Reviewed-on: https://code.wireshark.org/review/30883 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
74b0c08905
commit
98d4b434fe
|
@ -12,7 +12,9 @@
|
|||
#include <ui_compiled_filter_output.h>
|
||||
#include "compiled_filter_output.h"
|
||||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
#include <wsutil/wspcap.h>
|
||||
#endif
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include <wiretap/wtap.h>
|
||||
|
|
Loading…
Reference in New Issue