Skip to content

Commit b83118f

Browse files
authored
Merge pull request swiftlang#2772 from tachoknight/master
Another file to only include sys/sysctl.h if macOS or BSD
2 parents e68dc07 + 1815e0f commit b83118f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/PlugIn.subproj/CFBundle_Resources.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#if TARGET_OS_MAC || TARGET_OS_LINUX || TARGET_OS_BSD
2929
#include <unistd.h>
30-
#if !TARGET_OS_ANDROID
30+
#if TARGET_OS_MAC || TARGET_OS_BSD
3131
#include <sys/sysctl.h>
3232
#endif
3333
#include <sys/stat.h>

0 commit comments

Comments
 (0)