Skip to content

Commit fc9d743

Browse files
committed
Hack in the location of sys/ headers on linux for now on the CI
1 parent bb83888 commit fc9d743

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

stdlib/public/Platform/glibc.modulemap.gyb

+23-23
Original file line numberDiff line numberDiff line change
@@ -122,29 +122,29 @@ module SwiftGlibc [system] {
122122
% if CMAKE_SDK not in ["LINUX", "ANDROID"]:
123123
header "sys/event.h"
124124
% end
125-
header "sys/file.h"
126-
header "sys/inotify.h"
127-
header "sys/ioctl.h"
128-
header "sys/ipc.h"
129-
header "sys/mman.h"
130-
header "sys/mount.h"
131-
header "sys/msg.h"
132-
header "sys/resource.h"
133-
header "sys/select.h"
134-
header "sys/sem.h"
135-
header "sys/sendfile.h"
136-
header "sys/shm.h"
137-
header "sys/socket.h"
138-
header "sys/stat.h"
139-
header "sys/statvfs.h"
140-
header "sys/time.h"
141-
header "sys/times.h"
142-
header "sys/types.h"
143-
header "sys/uio.h"
144-
header "sys/un.h"
145-
header "sys/user.h"
146-
header "sys/utsname.h"
147-
header "sys/wait.h"
125+
header "x86_64-linux-gnu/sys/file.h"
126+
header "x86_64-linux-gnu/sys/inotify.h"
127+
header "x86_64-linux-gnu/sys/ioctl.h"
128+
header "x86_64-linux-gnu/sys/ipc.h"
129+
header "x86_64-linux-gnu/sys/mman.h"
130+
header "x86_64-linux-gnu/sys/mount.h"
131+
header "x86_64-linux-gnu/sys/msg.h"
132+
header "x86_64-linux-gnu/sys/resource.h"
133+
header "x86_64-linux-gnu/sys/select.h"
134+
header "x86_64-linux-gnu/sys/sem.h"
135+
header "x86_64-linux-gnu/sys/sendfile.h"
136+
header "x86_64-linux-gnu/sys/shm.h"
137+
header "x86_64-linux-gnu/sys/socket.h"
138+
header "x86_64-linux-gnu/sys/stat.h"
139+
header "x86_64-linux-gnu/sys/statvfs.h"
140+
header "x86_64-linux-gnu/sys/time.h"
141+
header "x86_64-linux-gnu/sys/times.h"
142+
header "x86_64-linux-gnu/sys/types.h"
143+
header "x86_64-linux-gnu/sys/uio.h"
144+
header "x86_64-linux-gnu/sys/un.h"
145+
header "x86_64-linux-gnu/sys/user.h"
146+
header "x86_64-linux-gnu/sys/utsname.h"
147+
header "x86_64-linux-gnu/sys/wait.h"
148148
header "sysexits.h"
149149
header "syslog.h"
150150
header "tar.h"

0 commit comments

Comments
 (0)