[libc-commits] [libc] [libc] Add sys/sendfile.h to the public header list (PR #201062)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Tue Jun 2 01:49:21 PDT 2026


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

None

>From c05e542f050705090cd7f6f6235fdf0da1f5c9c4 Mon Sep 17 00:00:00 2001
From: Pavel Labath <pavel at labath.sk>
Date: Tue, 2 Jun 2026 08:48:07 +0000
Subject: [PATCH] [libc] Add sys/sendfile.h to the public header list

---
 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 d09d307565bea..37e526736b617 100644
--- a/libc/config/linux/aarch64/headers.txt
+++ b/libc/config/linux/aarch64/headers.txt
@@ -49,6 +49,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_random
     libc.include.sys_resource
     libc.include.sys_select
+    libc.include.sys_sendfile
     libc.include.sys_socket
     libc.include.sys_stat
     libc.include.sys_statvfs
diff --git a/libc/config/linux/riscv/headers.txt b/libc/config/linux/riscv/headers.txt
index c7ea504def1d8..7b3b8d98ac130 100644
--- a/libc/config/linux/riscv/headers.txt
+++ b/libc/config/linux/riscv/headers.txt
@@ -49,6 +49,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_random
     libc.include.sys_resource
     libc.include.sys_select
+    libc.include.sys_sendfile
     libc.include.sys_socket
     libc.include.sys_stat
     libc.include.sys_statvfs
diff --git a/libc/config/linux/x86_64/headers.txt b/libc/config/linux/x86_64/headers.txt
index e1e5564ca0840..59bcda72ef9bd 100644
--- a/libc/config/linux/x86_64/headers.txt
+++ b/libc/config/linux/x86_64/headers.txt
@@ -52,6 +52,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.sys_resource
     libc.include.sys_select
     libc.include.sys_sem
+    libc.include.sys_sendfile
     libc.include.sys_socket
     libc.include.sys_stat
     libc.include.sys_statvfs



More information about the libc-commits mailing list