Skip to content

Commit 5d17ef3

Browse files
committed
[android] Add errno.h header to the Android branch.
The inline code in this file has started using the errno symbol, which was included correctly in Linux, but not included in Android. This commit adds the include to allow compiling the code.
1 parent 2b3a0af commit 5d17ef3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CoreFoundation/Base.subproj/ForSwiftFoundationOnly.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
#endif
5757

5858
#if TARGET_OS_ANDROID
59+
#include <errno.h>
5960
#include <sys/stat.h>
6061
#include <sys/syscall.h>
6162
#elif TARGET_OS_LINUX

0 commit comments

Comments
 (0)