Fix the macOS High Sierra build.
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 May 2018 16:52:31 +0000 (16:52 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 May 2018 16:52:31 +0000 (16:52 +0000)
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232352 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

index 2810931..66b306d 100644 (file)
 
 using namespace WebKit;
 
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
+@interface NSURLSessionConfiguration (WKStaging)
+@property (nullable, copy) NSSet *_suppressedAutoAddedHTTPHeaders;
 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000)
 // FIXME: Remove this once rdar://problem/40650244 is in a build.
-@interface NSURLSessionConfiguration (WKStaging)
 @property (copy) NSDictionary *_socketStreamProperties;
+#endif
 @end
 #endif