[libc-commits] [libc] [libc][sched] Fix cpuset includes (PR #126303)

Krishna Pandey via libc-commits libc-commits at lists.llvm.org
Tue Feb 11 06:08: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"
----------------
krishna2803 wrote:

> we need a proxy header for struct sched_param, too!
aah.. this is weird, i have a feeling that this could be the case for some other stuff too! but i think we should `cpuset` includes done first and then maybe we can work on `struct sched_param` (and the other types if there are any).

https://github.com/llvm/llvm-project/pull/126303


More information about the libc-commits mailing list