[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


================
@@ -11,7 +11,7 @@
 #include "src/__support/common.h"
 #include "src/__support/macros/config.h"
 
-#include <sched.h>
+#include "hdr/types/cpu_set_t.h"
 #include <stddef.h>
----------------
nickdesaulniers wrote:

What does this file use from stddef.h?

Please explicitly include libc/hdr/types/size_t.h for size_t.

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


More information about the libc-commits mailing list