================ @@ -55,6 +55,10 @@ #include <unistd.h> // For syscall() #endif +#if defined(_AIX) +#include <sys/systemcfg.h> ---------------- xingxue-ibm wrote: ```suggestion #include <unistd.h> ``` https://github.com/llvm/llvm-project/pull/67683