24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
diff -Naur ./swift-corelibs-foundation-orig/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c
|
|
--- ./swift-corelibs-foundation-orig/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c 2020-04-19 22:20:35.000000000 -0500
|
|
+++ swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c 2020-04-24 21:29:34.742564898 -0500
|
|
@@ -17,7 +17,7 @@
|
|
|
|
#if (TARGET_OS_MAC || TARGET_OS_LINUX || TARGET_OS_BSD) && !TARGET_OS_CYGWIN
|
|
#include <dirent.h>
|
|
-#if !TARGET_OS_ANDROID
|
|
+#if TARGET_OS_MAC || TARGET_OS_BSD
|
|
#include <sys/sysctl.h>
|
|
#endif
|
|
#include <sys/mman.h>
|
|
diff -Naur ./swift-corelibs-foundation-orig/CoreFoundation/PlugIn.subproj/CFBundle_Resources.c swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_Resources.c
|
|
--- ./swift-corelibs-foundation-orig/CoreFoundation/PlugIn.subproj/CFBundle_Resources.c 2020-04-19 22:20:35.000000000 -0500
|
|
+++ swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_Resources.c 2020-04-24 21:30:07.201669760 -0500
|
|
@@ -27,7 +27,7 @@
|
|
|
|
#if TARGET_OS_MAC || TARGET_OS_LINUX || TARGET_OS_BSD
|
|
#include <unistd.h>
|
|
-#if !TARGET_OS_ANDROID
|
|
+#if TARGET_OS_MAC || TARGET_OS_BSD
|
|
#include <sys/sysctl.h>
|
|
#endif
|
|
#include <sys/stat.h>
|