[libc-commits] [libc] [libc][sched] Fix cpuset includes (PR #126303)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Feb 7 13:22:15 PST 2025
================
@@ -10,7 +10,7 @@
#define LLVM_LIBC_SRC_SCHED_SCHED_GETPARAM_H
#include "src/__support/macros/config.h"
-#include <sched.h>
+#include "hdr/types/cpu_set_t.h"
----------------
nickdesaulniers wrote:
Add libc/hdr/types/pid_t.h and ...oh look, we need a proxy header for `struct sched_param`, too! Want to put down this PR and get that resolved in a distinct PR, too?
This function signature isn't even using cpu_set_t, so it's spurious to include it!
https://github.com/llvm/llvm-project/pull/126303
More information about the libc-commits
mailing list