]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nsflsgs: drop missing.h and use missing_sched.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Dec 2018 06:23:23 +0000 (07:23 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Dec 2018 12:31:16 +0000 (13:31 +0100)
src/shared/bus-unit-util.c
src/shared/nsflags.h

index 625bebbe35890ebb214efc0fb78f4f44f8bdcf59..e324a2ffc7fce9f4d5b0f7b9343e3a33e424e276 100644 (file)
@@ -18,6 +18,7 @@
 #include "ip-protocol-list.h"
 #include "list.h"
 #include "locale-util.h"
+#include "missing_fs.h"
 #include "mountpoint-util.h"
 #include "nsflags.h"
 #include "parse-util.h"
index 7cc26a441d4bb44558321cebfc73dac14ae70da5..0aeb0bc89143921538323d86eb12bf74efc718e6 100644 (file)
@@ -1,9 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-#include <sched.h>
-
-#include "missing.h"
+#include "missing_sched.h"
 
 /* The combination of all namespace flags defined by the kernel. The right type for this isn't clear. setns() and
  * unshare() expect these flags to be passed as (signed) "int", while clone() wants them as "unsigned long". The latter