[all-commits] [llvm/llvm-project] cacd86: [libc] Add a redirecting <syscall.h> header. (#191...
Alexey Samsonov via All-commits
all-commits at lists.llvm.org
Thu Apr 9 09:37:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cacd8625ea70c452c4bfcafc75eb55c29d3f31fe
https://github.com/llvm/llvm-project/commit/cacd8625ea70c452c4bfcafc75eb55c29d3f31fe
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2026-04-09 (Thu, 09 Apr 2026)
Changed paths:
M libc/config/linux/aarch64/headers.txt
M libc/config/linux/riscv/headers.txt
M libc/config/linux/x86_64/headers.txt
M libc/include/CMakeLists.txt
A libc/include/syscall.h
Log Message:
-----------
[libc] Add a redirecting <syscall.h> header. (#191069)
The amount of legacy code including `<syscall.h>` header instead of
`<sys/syscall.h>` (which is the regular header location on Linux
systems) out there is large.
Add a simple one-liner redirecting header to fix this compatibility
issues. In this PR I omit the regular licensing blurb at the top, given
the transient nature of this file, but I'm happy to add this if needed.
Also, given that it's effectively a compatibility shim, YAML generation
is not used.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list