Skip to content

Commit 7bcbe8a

Browse files
committed
Only include sys/sysctl.h if macOS or BSD
1 parent ce2827f commit 7bcbe8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c

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

1818
#if (TARGET_OS_MAC || TARGET_OS_LINUX || TARGET_OS_BSD) && !TARGET_OS_CYGWIN
1919
#include <dirent.h>
20-
#if !TARGET_OS_ANDROID
20+
#if TARGET_OS_MAC || TARGET_OS_BSD
2121
#include <sys/sysctl.h>
2222
#endif
2323
#include <sys/mman.h>

0 commit comments

Comments
 (0)