basic: move missing_sched.h -> include/sched.h

This commit is contained in:
Yu Watanabe
2025-07-01 12:29:15 +09:00
parent 194a690181
commit 237bdd2771
18 changed files with 13 additions and 22 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <sched.h>
#include "forward.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
+1 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <sched.h>
#include <sys/prctl.h>
#include "sd-varlink.h"
@@ -9,7 +10,6 @@
#include "format-util.h"
#include "json-util.h"
#include "log.h"
#include "missing_sched.h"
#include "namespace-util.h"
#include "nsresource.h"
#include "process-util.h"