summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bpf-devices.c2
-rw-r--r--src/core/bpf-firewall.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/bpf-devices.c b/src/core/bpf-devices.c
index 81e91fcb36..9750c4c682 100644
--- a/src/core/bpf-devices.c
+++ b/src/core/bpf-devices.c
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <linux/libbpf.h>
+#include <linux/bpf_insn.h>
#include "bpf-devices.h"
#include "bpf-program.h"
diff --git a/src/core/bpf-firewall.c b/src/core/bpf-firewall.c
index 2ecce300da..723c7b4b4e 100644
--- a/src/core/bpf-firewall.c
+++ b/src/core/bpf-firewall.c
@@ -4,7 +4,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <linux/libbpf.h>
+#include <linux/bpf_insn.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/ip.h>