projects
/
suricata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a97de
)
[PATCH] af-packet: fix build on recent Linux kernels
author
Eric Leblond
<eric@regit.org>
Wed, 17 Jul 2019 10:35:12 +0000
(12:35 +0200)
committer
Sascha Steinbiss
<satta@debian.org>
Tue, 12 Jul 2022 14:57:16 +0000
(15:57 +0100)
Gbp-Pq: Name import-sockio-h.patch
src/source-af-packet.c
patch
|
blob
|
history
diff --git
a/src/source-af-packet.c
b/src/source-af-packet.c
index db8d79307d5c2759d974a838c02ce7c5f1f9b7c3..02ccf1d21210a0d01d72bc4c54678223e9a1a235 100644
(file)
--- a/
src/source-af-packet.c
+++ b/
src/source-af-packet.c
@@
-68,6
+68,10
@@
#include <linux/sockios.h>
#endif
+#if HAVE_LINUX_SOCKIOS_H
+#include <linux/sockios.h>
+#endif
+
#ifdef HAVE_PACKET_EBPF
#include "util-ebpf.h"
#include <bpf/libbpf.h>