summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nspawn/nspawn.c1
-rw-r--r--src/test/test-process-util.c1
-rw-r--r--src/test/test-seccomp.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index dfd14ca390..db3bc1a4db 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -9,7 +9,6 @@
#include <linux/fs.h>
#include <linux/loop.h>
#include <pwd.h>
-#include <sched.h>
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index ad441ae731..762a203577 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
-#include <sched.h>
#include <sys/mount.h>
#include <sys/personality.h>
#include <sys/prctl.h>
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
index af17a56516..018c20f8be 100644
--- a/src/test/test-seccomp.c
+++ b/src/test/test-seccomp.c
@@ -2,7 +2,6 @@
#include <fcntl.h>
#include <poll.h>
-#include <sched.h>
#include <stdlib.h>
#include <sys/eventfd.h>
#include <sys/mman.h>