[llvm] [CAS] Add missing <sys/time.h> include to fix aarch64 build (PR #196193)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 20:05:43 PDT 2026


https://github.com/justinfargnoli commented:

> on aarch64 the transitive include path differs and the build breaks

Which build are you referring to? Can you link to the LLVM Build Bot that's failing? 

> Add an explicit include, guarded by #ifndef _WIN32 since <sys/time.h> is POSIX-only.

Why does this issue only occur on Linux, but not on Windows? 

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


More information about the llvm-commits mailing list