projects
/
suricata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfe1c8
)
[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>
Fri, 15 Sep 2023 19:18:47 +0000
(20:18 +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 0c50ed219aa661c0c3478ed75e48b3ca53472307..ecec89133d3a6384852b95b437dec93a9420dbc9 100644
(file)
--- a/
src/source-af-packet.c
+++ b/
src/source-af-packet.c
@@
-72,6
+72,10
@@
#include <linux/sockios.h>
#endif
+#if HAVE_LINUX_SOCKIOS_H
+#include <linux/sockios.h>
+#endif
+
#ifdef HAVE_PACKET_EBPF
#include <bpf/libbpf.h>
#include <bpf/bpf.h>