]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "namespace-util: include sched.h"
authorMike Yuan <me@yhndnzj.com>
Wed, 25 Jun 2025 11:15:55 +0000 (13:15 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 25 Jun 2025 15:46:20 +0000 (00:46 +0900)
This reverts commit 50cda6433bb04bf6ad81bde3b5d19d2856b34575.

Same as the previous revert, sched.h is too generic to
be included in namespace-util.h, plus this defeats
the purpose of forward decl.

src/basic/namespace-util.h

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