summaryrefslogtreecommitdiffstats
path: root/src/test
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/test
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/test')
-rw-r--r--src/test/test-arphrd-list.c3
-rw-r--r--src/test/test-bpf.c2
-rw-r--r--src/test/test-netlink-manual.c3
3 files changed, 3 insertions, 5 deletions
diff --git a/src/test/test-arphrd-list.c b/src/test/test-arphrd-list.c
index 3005fc1b69..02bb25b695 100644
--- a/src/test/test-arphrd-list.c
+++ b/src/test/test-arphrd-list.c
@@ -1,10 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <net/if_arp.h>
+#include <linux/if_arp.h>
#include <string.h>
#include "macro.h"
-#include "missing_network.h"
#include "string-util.h"
_unused_ \
diff --git a/src/test/test-bpf.c b/src/test/test-bpf.c
index cd8d68f215..6a0bf1462f 100644
--- a/src/test/test-bpf.c
+++ b/src/test/test-bpf.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <linux/libbpf.h>
+#include <linux/bpf_insn.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
diff --git a/src/test/test-netlink-manual.c b/src/test/test-netlink-manual.c
index a1a5eb4778..031a47605e 100644
--- a/src/test/test-netlink-manual.c
+++ b/src/test/test-netlink-manual.c
@@ -2,9 +2,8 @@
#include <arpa/inet.h>
#include <libkmod.h>
-#include <linux/ip.h>
-#include <net/if.h>
#include <linux/if_tunnel.h>
+#include <linux/ip.h>
#include <sys/types.h>
#include <unistd.h>