54 lines
1.5 KiB
Diff
54 lines
1.5 KiB
Diff
--- a/swift/stdlib/public/SDK/os/os_trace_blob.c
|
|
+++ b/swift/stdlib/public/SDK/os/os_trace_blob.c
|
|
@@ -14,7 +14,6 @@
|
|
#include <dispatch/dispatch.h>
|
|
#include <os/base.h>
|
|
#include <os/log.h>
|
|
-#include <xlocale.h>
|
|
#include "os_trace_blob.h"
|
|
|
|
OS_NOINLINE
|
|
|
|
--- a/swift/stdlib/public/stubs/Stubs.cpp
|
|
+++ b/swift/stdlib/public/stubs/Stubs.cpp
|
|
@@ -61,7 +61,6 @@
|
|
#define strtof_l swift_strtof_l
|
|
#define strtold_l swift_strtold_l
|
|
#else
|
|
-#include <xlocale.h>
|
|
#endif
|
|
#include <limits>
|
|
#include "llvm/ADT/StringExtras.h"
|
|
|
|
--- a/swift-corelibs-foundation/CoreFoundation/String.subproj/CFStringDefaultEncoding.h
|
|
+++ b/swift-corelibs-foundation/CoreFoundation/String.subproj/CFStringDefaultEncoding.h
|
|
@@ -20,7 +20,6 @@
|
|
#include <unistd.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
-#include <xlocale.h>
|
|
|
|
CF_EXTERN_C_BEGIN
|
|
|
|
|
|
--- a/swift-corelibs-foundation/CoreFoundation/String.subproj/CFStringEncodings.c
|
|
+++ b/swift-corelibs-foundation/CoreFoundation/String.subproj/CFStringEncodings.c
|
|
@@ -24,7 +24,6 @@
|
|
#include <unistd.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
-#include <xlocale.h>
|
|
#include <CoreFoundation/CFStringDefaultEncoding.h>
|
|
#endif
|
|
|
|
|
|
--- a/swift-corelibs-foundation/CoreFoundation/Base.subproj/CFInternal.h
|
|
+++ b/swift-corelibs-foundation/CoreFoundation/Base.subproj/CFInternal.h
|
|
@@ -95,7 +95,6 @@
|
|
#if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI || DEPLOYMENT_TARGET_LINUX || DEPLOYMENT_TARGET_FREEBSD
|
|
#if TARGET_OS_CYGWIN
|
|
#else
|
|
-#include <xlocale.h>
|
|
#endif
|
|
#include <unistd.h>
|
|
#include <sys/time.h>
|