Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build Fix] CoreFoundation: use #include #3075

Merged
merged 1 commit into from
Sep 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CoreFoundation/Locale.subproj/CFListFormatter.c
Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
*/

#import "CFListFormatter.h"
#include "CFListFormatter.h"

#import "CFICULogging.h"
#import "CFInternal.h"
#import "CFRuntime_Internal.h"
#import <assert.h>
#include "CFICULogging.h"
#include "CFInternal.h"
#include "CFRuntime_Internal.h"
#include <assert.h>

#define BUFFER_SIZE 256
#define RESULT_BUFFER_SIZE 768
10 changes: 5 additions & 5 deletions CoreFoundation/Locale.subproj/CFRelativeDateTimeFormatter.c
Original file line number Diff line number Diff line change
@@ -8,12 +8,12 @@
Responsibility: I-Ting Liu
*/

#import "CFRelativeDateTimeFormatter.h"
#include "CFRelativeDateTimeFormatter.h"

#import <assert.h>
#import "CFICULogging.h"
#import "CFInternal.h"
#import "CFRuntime_Internal.h"
#include <assert.h>
#include "CFICULogging.h"
#include "CFInternal.h"
#include "CFRuntime_Internal.h"

struct __CFRelativeDateTimeFormatter {
CFRuntimeBase _base;
2 changes: 1 addition & 1 deletion CoreFoundation/String.subproj/CFAttributedString.c
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
#include "CFRuntime_Internal.h"

#if (TARGET_OS_MAC || TARGET_OS_WIN32) && DEPLOYMENT_RUNTIME_OBJC
#import <Foundation/NSAttributedString.h>
#include <Foundation/NSAttributedString.h>
@interface NSAttributedString (NSPrivate)
- (NSAttributedString *)_createAttributedSubstringWithRange:(NSRange)range NS_RETURNS_RETAINED;
@end