[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:00:47 PST 2024
https://github.com/lntue created https://github.com/llvm/llvm-project/pull/78865
None
>From 7956bc224917286bb821d7f9c44701d575bb684a Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue.h at gmail.com>
Date: Sat, 20 Jan 2024 22:58:19 +0000
Subject: [PATCH] [libc] Add missing header ioctl.h on aarch64.
---
libc/config/linux/aarch64/headers.txt | 2 ++
libc/src/unistd/linux/CMakeLists.txt | 1 +
2 files changed, 3 insertions(+)
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