]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
namespace-util: include sched.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Jun 2025 20:44:06 +0000 (05:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Jun 2025 15:50:06 +0000 (00:50 +0900)
To make CLONE_NEWNS and friends defined, which is used by clone_flag_to_namespace_type().

src/basic/namespace-util.h

index e0e857b7a496e75aae11b9691d136da6e096eed2..e15afd93400a26cc222a50d03c5ef4e6698011b7 100644 (file)
@@ -1,6 +1,8 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <sched.h>              /* IWYU pragma: export */
+
 #include "forward.h"
 
 typedef enum NamespaceType {