spotfilter: fix compilation with gcc13

Add missing header includes (linux/if_vlan.h and net/ndisc.h) for
gcc13 compatibility.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-10-19 00:00:00 +02:00
parent 2018b327d8
commit 8701fb97d6

View File

@@ -0,0 +1,12 @@
--- a/spotfilter-bpf.c
+++ b/spotfilter-bpf.c
@@ -14,7 +14,9 @@
#include <uapi/linux/icmpv6.h>
#include <uapi/linux/filter.h>
#include <uapi/linux/pkt_cls.h>
+#include <linux/if_vlan.h>
#include <linux/ip.h>
+#include <net/ndisc.h>
#include <net/ipv6.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_endian.h>