projects
/
suricata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477fd74
)
[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, 18 Nov 2021 21:57:47 +0000
(21:57 +0000)
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 0b20f922becf2c666054d8b45bb9d0aa07a51687..c49e7ca81812b334885ae69e36204d749e7f5f0d 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>