Skip to content

Commit 6438508

Browse files
committed
fix(compile): adding include before macro
1 parent 77116b8 commit 6438508

File tree

8 files changed

+27
-11
lines changed

8 files changed

+27
-11
lines changed

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Categories/NSData+Base64.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// 3. This notice may not be removed or altered from any source
2121
// distribution.
2222
//
23+
#import <Foundation/Foundation.h>
24+
2325
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
2426

2527
#import "NSData+Base64.h"

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Categories/NSDate+RFC1123.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
// http://blog.mro.name/2009/08/nsdateformatter-http-header/
77
//
88
// No obvious license attached
9-
#import "NSDate+RFC1123.h"
9+
#import <Foundation/Foundation.h>
1010

1111
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
1212

13+
#import "NSDate+RFC1123.h"
14+
1315
@implementation LPRFC1123
1416

1517
+ (NSDate *)dateFromRFC1123:(NSString*)value_

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Categories/NSDictionary+RequestEncoding.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2323
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
// THE SOFTWARE.
25-
#import "MKNetworkKit.h"
25+
#import <Foundation/Foundation.h>
2626

2727
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
2828

29+
#import "MKNetworkKit.h"
30+
2931
@implementation LPDictionaryEncoder
3032

3133
+ (NSString *)urlEncodedKeyValueString:(NSDictionary *)dictionary {

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Categories/NSString+MKNetworkKitAdditions.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2323
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
// THE SOFTWARE.
25-
#import "NSString+MKNetworkKitAdditions.h"
26-
#import <CommonCrypto/CommonDigest.h>
25+
#import <Foundation/Foundation.h>
2726

2827
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
2928

29+
#import "NSString+MKNetworkKitAdditions.h"
30+
#import <CommonCrypto/CommonDigest.h>
31+
3032
@implementation LPNetworkKitAdditions
3133

3234
+ (NSString *)md5:(NSString *)string

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Leanplum_MKNKEngineWrapper.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
// Created by Alexis Oyama on 11/14/16.
66
// Copyright (c) 2016 Leanplum, Inc. All rights reserved.
77
//
8-
#import "Leanplum_MKNKEngineWrapper.h"
9-
#import "Leanplum_MKNKOperationWrapper.h"
8+
#import <Foundation/Foundation.h>
109

1110
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
1211

12+
#import "Leanplum_MKNKEngineWrapper.h"
13+
#import "Leanplum_MKNKOperationWrapper.h"
14+
1315
@implementation Leanplum_MKNKEngineWrapper
1416

1517
- (id)initWithHostName:(NSString*)hostName customHeaderFields:(NSDictionary*)headers

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Leanplum_MKNKOperationWrapper.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
// Created by Alexis Oyama on 11/14/16.
66
// Copyright (c) 2016 Leanplum, Inc. All rights reserved.
77
//
8-
#import "Leanplum_MKNKOperationWrapper.h"
8+
#import <Foundation/Foundation.h>
99

1010
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
1111

12+
#import "Leanplum_MKNKOperationWrapper.h"
13+
1214
@implementation Leanplum_MKNKOperationWrapper
1315

1416
- (id)init {

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Leanplum_MKNetworkEngine.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2323
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
// THE SOFTWARE.
25-
#import "MKNetworkKit.h"
26-
#import "Constants.h"
25+
#import <Foundation/Foundation.h>
2726

2827
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
2928

29+
#import "MKNetworkKit.h"
30+
#import "Constants.h"
31+
3032
#define kFreezableOperationExtension @"mknetworkkitfrozenoperation"
3133

3234
#ifdef __OBJC_GC__

Leanplum-SDK/Classes/Vendor/MKNetworkKit/Leanplum_MKNetworkOperation.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2323
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
// THE SOFTWARE.
25-
#import "MKNetworkKit.h"
26-
#import "Constants.h"
25+
#import <Foundation/Foundation.h>
2726

2827
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 70000
2928

29+
#import "MKNetworkKit.h"
30+
#import "Constants.h"
31+
3032
#ifdef __OBJC_GC__
3133
#error MKNetworkKit does not support Objective-C Garbage Collection
3234
#endif

0 commit comments

Comments
 (0)