summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-10 12:55:53 +0200
committerLennart Poettering <lennart@poettering.net>2019-04-11 19:00:37 +0200
commit01234e1fe777602265ffd25ab6e73823c62b0efe (patch)
tree4135491d107232d081ae3f4a0013baad8dd1d50b /src/core
parentMerge pull request #12153 from benjarobin/killall-show-not-killed (diff)
downloadsystemd-01234e1fe777602265ffd25ab6e73823c62b0efe.tar.xz
systemd-01234e1fe777602265ffd25ab6e73823c62b0efe.zip
tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0
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>