projects
/
suricata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffd468
)
[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>
Thu, 21 Apr 2022 17:53:32 +0000
(18:53 +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 f4f120d057d16239ac0cc5bcaace51bbf20a5999..874a6a5d3d5c3af0dda998f057734a94dad6e591 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>