Skip to content

Commit 9544d0c

Browse files
authored
Merge pull request #2350 from compnerd/android-syscallss
Base: include headers appropriately for android
2 parents d7ee5f2 + 2800c1a commit 9544d0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CoreFoundation/Base.subproj/ForSwiftFoundationOnly.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@
5555
#include <malloc/malloc.h>
5656
#endif
5757

58-
#if TARGET_OS_LINUX
58+
#if TARGET_OS_ANDROID
59+
#include <sys/stat.h>
60+
#include <sys/syscall.h>
61+
#elif TARGET_OS_LINUX
5962
#include <features.h>
6063

6164
#if __GLIBC_PREREQ(2, 28) == 0

0 commit comments

Comments
 (0)