[libc-commits] [libc] [libc] Fix missing sysroot path for kernel headers when crosscompiling (PR #99588)

Mikhail R. Gadelha via libc-commits libc-commits at lists.llvm.org
Fri Jul 19 05:30:17 PDT 2024


================
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/time/nanosleep.h"
-
+#include "hdr/time_macros.h"
----------------
mikhailramalho wrote:

I forgot to mention it in the commit message, but once we fix the sysroot path, the compilation of the file fails in rv32 due to the missing definition of `CLOCK_REALTIME`.

I'll update the commit message when squashing and merging

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


More information about the libc-commits mailing list