[libc-commits] [libc] [libc] Add sys/uio.h to Linux public header target lists (PR #200793)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Mon Jun 1 05:08:24 PDT 2026


https://github.com/labath created https://github.com/llvm/llvm-project/pull/200793

The headers don't get installed without this.

Assisted by Gemini.

>From d8a00414a3ee5c388bb413d4b1fa67e896442169 Mon Sep 17 00:00:00 2001
From: Pavel Labath <pavel at labath.sk>
Date: Fri, 29 May 2026 09:48:05 +0000
Subject: [PATCH] [libc] Add sys/uio.h to Linux public header target lists

The headers don't get installed without this.

Assisted by Gemini.
---
 libc/config/linux/aarch64/headers.txt | 1 +
 libc/config/linux/riscv/headers.txt   | 1 +
 libc/config/linux/x86_64/headers.txt  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/libc/config/linux/aarch64/headers.txt b/libc/config/linux/aarch64/headers.txt
index ea7327dfb84da..37359e6064959 100644
--- a/libc/config/linux/aarch64/headers.txt
+++ b/libc/config/linux/aarch64/headers.txt
@@ -54,6 +54,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_syscall
     libc.include.sys_time
     libc.include.sys_types
+    libc.include.sys_uio
     libc.include.sys_un
     libc.include.sys_utsname
     libc.include.sys_wait
diff --git a/libc/config/linux/riscv/headers.txt b/libc/config/linux/riscv/headers.txt
index 5f0e2c85b335b..04d251926b8d1 100644
--- a/libc/config/linux/riscv/headers.txt
+++ b/libc/config/linux/riscv/headers.txt
@@ -54,6 +54,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_syscall
     libc.include.sys_time
     libc.include.sys_types
+    libc.include.sys_uio
     libc.include.sys_utsname
     libc.include.sys_wait
     libc.include.syscall
diff --git a/libc/config/linux/x86_64/headers.txt b/libc/config/linux/x86_64/headers.txt
index 344550efd6e6c..cf76db06cb62c 100644
--- a/libc/config/linux/x86_64/headers.txt
+++ b/libc/config/linux/x86_64/headers.txt
@@ -58,6 +58,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_time
     libc.include.sys_types
     libc.include.sys_ucontext
+    libc.include.sys_uio
     libc.include.sys_un
     libc.include.sys_utsname
     libc.include.sys_wait



More information about the libc-commits mailing list