blob: 83d87437ce88991b26f6b11cad7ba66e688f3482 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From: Eric Leblond <eric@regit.org>
Date: Wed, 17 Jul 2019 12:35:12 +0200
Subject: [PATCH] af-packet: fix build on recent Linux kernels
--- 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>
|