Skip to content

Commit 1231ba7

Browse files
authored
Merge pull request #7409 from compnerd/sys.user
stdlib: add sys.user module for Linux
2 parents fa859d7 + 08751a8 commit 1231ba7

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
@@ -413,6 +413,12 @@ module SwiftGlibc [system] {
413413
header "${GLIBC_ARCH_INCLUDE_PATH}/sys/un.h"
414414
export *
415415
}
416+
% if CMAKE_SDK in ["LINUX"]:
417+
module user {
418+
header "${GLIBC_ARCH_INCLUDE_PATH}/sys/user.h"
419+
export *
420+
}
421+
% end
416422
module utsname {
417423
header "${GLIBC_ARCH_INCLUDE_PATH}/sys/utsname.h"
418424
export *

0 commit comments

Comments
 (0)