[libc-commits] [libc] [libc][sched] Fix cpuset includes (PR #126303)
Krishna Pandey via libc-commits
libc-commits at lists.llvm.org
Tue Feb 11 08:53:11 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:
> 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).
and... this caused me a lot of trouble with the tests :(
i guess i will just do the fix in this PR only as it is messing with the tests
https://github.com/llvm/llvm-project/pull/126303
More information about the libc-commits
mailing list