Skip to content

Commit 5e305a5

Browse files
authored
Merge pull request swiftlang#5014 from parkera/parkera/amazonlinux2_include_fix
Add fcntl.h include, required for some linux platforms
2 parents 0f7e129 + 1fc5ee5 commit 5e305a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/CoreFoundation/include/ForSwiftFoundationOnly.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#include <errno.h>
7979
#include <features.h>
8080
#include <termios.h>
81+
#include <fcntl.h>
8182

8283
#ifdef __GLIBC_PREREQ
8384
#if __GLIBC_PREREQ(2, 28) == 0

0 commit comments

Comments
 (0)