Skip to content

Commit 7b30d1e

Browse files
glessardCodaFi
authored andcommitted
add /usr/include/sysexits.h to Glibc module (#11926)
It is part of the Darwin module; this makes things more consistent.
1 parent 13183f8 commit 7b30d1e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Platform/glibc.modulemap.gyb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ module SwiftGlibc [system] {
428428
export *
429429
}
430430
}
431+
% if CMAKE_SDK in ["LINUX", "FREEBSD"]:
432+
module sysexits {
433+
header "${GLIBC_INCLUDE_PATH}/sysexits.h"
434+
export *
435+
}
436+
% end
431437
module termios {
432438
header "${GLIBC_INCLUDE_PATH}/termios.h"
433439
export *

0 commit comments

Comments
 (0)