[libc-commits] [libc] [libc] Add unistd overlay (PR #118882)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Dec 5 15:23:05 PST 2024
================
@@ -14,8 +14,8 @@
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"
-#include <sys/syscall.h> // For syscall numbers.
-#include <unistd.h> // For off_t.
+#include "include/llvm-libc-types/off_t.h" // For off_t.
----------------
michaelrj-google wrote:
this should use the proxy header at `hdr/types/off_t.h`
```suggestion
#include "hdr/types/off_t.h"
```
https://github.com/llvm/llvm-project/pull/118882
More information about the libc-commits
mailing list