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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (lntue)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/78865.diff


2 Files Affected:

- (modified) libc/config/linux/aarch64/headers.txt (+2) 
- (modified) libc/src/unistd/linux/CMakeLists.txt (+1) 


``````````diff
diff --git a/libc/config/linux/aarch64/headers.txt b/libc/config/linux/aarch64/headers.txt
index 6a4a4aaeb0a8d4..709a8dbdedc98f 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 2507e1e9a9387a..ab9eca19e65083 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

``````````

</details>


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


More information about the libc-commits mailing list