aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/androiddump.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-02-06 11:04:13 +0000
committerJoão Valverde <j@v6e.pt>2023-02-06 15:05:36 +0000
commit71cfbd81b33685eddde52fbaf12fd0ddced53f79 (patch)
treebd35f0e70adc462992b8abce1ddf713455eae282 /extcap/androiddump.c
parentab0d1904501e0f2daf50371ecba49a2e6e9a7d5f (diff)
Remove wspcap.h and use config.h instead
Forcing the use of a dedicated header to replace pcap.h is unnecessary code and mental overhead in this case. We can use config.h instead for the same purpose of defining a macro symbol before including pcap.h.
Diffstat (limited to 'extcap/androiddump.c')
-rw-r--r--extcap/androiddump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 09864b067c..901dc4f1bb 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -58,7 +58,7 @@
#define PCAP_RECORD_HEADER_LENGTH 16
#ifdef ANDROIDDUMP_USE_LIBPCAP
- #include "wspcap.h"
+ #include <pcap.h>
#include <pcap-bpf.h>
#include <pcap/bluetooth.h>