From f13015517c8b2eb38d0b07f2689e64fa1d892f8e Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 12 Dec 2024 15:30:23 -0600 Subject: [PATCH] [libc] Stop installing `sys/types.h` when not requested Summary: This is installed unconditionally because of the dependency in the `hdr/` directory. Remove this so it's only used on the systems that need it. --- libc/hdr/types/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/libc/hdr/types/CMakeLists.txt b/libc/hdr/types/CMakeLists.txt index 68a0e9603f975..ce3ecefe36438 100644 --- a/libc/hdr/types/CMakeLists.txt +++ b/libc/hdr/types/CMakeLists.txt @@ -137,7 +137,6 @@ add_proxy_header_library( clockid_t.h FULL_BUILD_DEPENDS libc.include.llvm-libc-types.clockid_t - libc.include.sys_types ) add_proxy_header_library( @@ -173,7 +172,6 @@ add_proxy_header_library( pid_t.h FULL_BUILD_DEPENDS libc.include.llvm-libc-types.pid_t - libc.include.sys_types ) add_proxy_header_library(