Skip to content

Commit bd40421

Browse files
authored
[libc] Stop installing sys/types.h when not requested (llvm#119765)
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.
1 parent e3676aa commit bd40421

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libc/hdr/types/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ add_proxy_header_library(
137137
clockid_t.h
138138
FULL_BUILD_DEPENDS
139139
libc.include.llvm-libc-types.clockid_t
140-
libc.include.sys_types
141140
)
142141

143142
add_proxy_header_library(
@@ -173,7 +172,6 @@ add_proxy_header_library(
173172
pid_t.h
174173
FULL_BUILD_DEPENDS
175174
libc.include.llvm-libc-types.pid_t
176-
libc.include.sys_types
177175
)
178176

179177
add_proxy_header_library(

0 commit comments

Comments
 (0)