[libc-commits] [libc] [libc] Add err.h to Linux public header target lists (PR #210995)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue Jul 21 06:34:22 PDT 2026


https://github.com/kaladron created https://github.com/llvm/llvm-project/pull/210995

Add libc.include.err to TARGET_PUBLIC_HEADERS for Linux targets (aarch64, arm, riscv, x86_64) so that err.h gets generated and installed.

Assisted-by: Automated tooling, human reviewed.

>From 0e7b061faf6507f67b68e7984c97ced2188ef4e1 Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Tue, 21 Jul 2026 14:25:42 +0100
Subject: [PATCH] [libc] Add err.h to Linux public header target lists

Add libc.include.err to TARGET_PUBLIC_HEADERS for Linux targets
(aarch64, arm, riscv, x86_64) so that err.h gets generated and installed.

Assisted-by: Automated tooling, human reviewed.
---
 libc/config/linux/aarch64/headers.txt | 1 +
 libc/config/linux/arm/headers.txt     | 1 +
 libc/config/linux/riscv/headers.txt   | 1 +
 libc/config/linux/x86_64/headers.txt  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/libc/config/linux/aarch64/headers.txt b/libc/config/linux/aarch64/headers.txt
index 2cb33a2f75416..6fe2618019397 100644
--- a/libc/config/linux/aarch64/headers.txt
+++ b/libc/config/linux/aarch64/headers.txt
@@ -10,6 +10,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.dlfcn
     libc.include.elf
     libc.include.endian
+    libc.include.err
     libc.include.errno
     libc.include.fcntl
     libc.include.features
diff --git a/libc/config/linux/arm/headers.txt b/libc/config/linux/arm/headers.txt
index 43f233637c35e..5e92bf6bf23b7 100644
--- a/libc/config/linux/arm/headers.txt
+++ b/libc/config/linux/arm/headers.txt
@@ -3,6 +3,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.complex
     libc.include.cpio
     libc.include.ctype
+    libc.include.err
     libc.include.errno
     libc.include.fenv
     libc.include.float
diff --git a/libc/config/linux/riscv/headers.txt b/libc/config/linux/riscv/headers.txt
index 29ae0d8b4ecfa..d9fb8a4f07d89 100644
--- a/libc/config/linux/riscv/headers.txt
+++ b/libc/config/linux/riscv/headers.txt
@@ -10,6 +10,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.dlfcn
     libc.include.elf
     libc.include.endian
+    libc.include.err
     libc.include.errno
     libc.include.fcntl
     libc.include.features
diff --git a/libc/config/linux/x86_64/headers.txt b/libc/config/linux/x86_64/headers.txt
index 9786b60fa2022..7951ba3c01ac8 100644
--- a/libc/config/linux/x86_64/headers.txt
+++ b/libc/config/linux/x86_64/headers.txt
@@ -10,6 +10,7 @@ set(TARGET_PUBLIC_HEADERS
     libc.include.dlfcn
     libc.include.elf
     libc.include.endian
+    libc.include.err
     libc.include.errno
     libc.include.fcntl
     libc.include.features



More information about the libc-commits mailing list