[libc-commits] [libc] 975deb3 - [libc] Add missing header ioctl.h on aarch64. (#78865)

via libc-commits libc-commits at lists.llvm.org
Sat Jan 20 15:16:49 PST 2024


Author: lntue
Date: 2024-01-20T18:16:45-05:00
New Revision: 975deb366470e4943a5b73d8f3031ed54dec6e8b

URL: https://github.com/llvm/llvm-project/commit/975deb366470e4943a5b73d8f3031ed54dec6e8b
DIFF: https://github.com/llvm/llvm-project/commit/975deb366470e4943a5b73d8f3031ed54dec6e8b.diff

LOG: [libc] Add missing header ioctl.h on aarch64. (#78865)

Added: 
    

Modified: 
    libc/config/linux/aarch64/headers.txt
    libc/src/unistd/linux/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/aarch64/headers.txt b/libc/config/linux/aarch64/headers.txt
index 6a4a4aaeb0a8d46..709a8dbdedc98f1 100644
--- a/libc/config/linux/aarch64/headers.txt
+++ b/libc/config/linux/aarch64/headers.txt
@@ -21,4 +21,6 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.threads
     libc.include.time
     libc.include.unistd
+
+    libc.include.sys_ioctl
 )

diff  --git a/libc/src/unistd/linux/CMakeLists.txt b/libc/src/unistd/linux/CMakeLists.txt
index 2507e1e9a9387ad..ab9eca19e650834 100644
--- a/libc/src/unistd/linux/CMakeLists.txt
+++ b/libc/src/unistd/linux/CMakeLists.txt
@@ -226,6 +226,7 @@ add_entrypoint_object(
     ../isatty.h
   DEPENDS
     libc.include.unistd
+    libc.include.sys_ioctl
     libc.include.sys_syscall
     libc.src.__support.OSUtil.osutil
     libc.src.errno.errno


        


More information about the libc-commits mailing list