Reviewed by Daniel Bates.
* WebKitSystemInterface.h: Remove import of the
<IOSurface/IOSurface.h> header, and add a typedef for
IOSurfaceRef in its place.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178961
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-01-22 David Kilzer <ddkilzer@apple.com>
+
+ [iOS] Fix build for external iphoneos SDK
+
+ Reviewed by Daniel Bates.
+
+ * WebKitSystemInterface.h: Remove import of the
+ <IOSurface/IOSurface.h> header, and add a typedef for
+ IOSurfaceRef in its place.
+
2015-01-22 Brent Fulgham <bfulgham@apple.com>
[Win] Unreviewed gardening.
#else
#import <CoreImage/CoreImage.h>
#import <CoreText/CoreText.h>
-#if !TARGET_IPHONE_SIMULATOR
-#import <IOSurface/IOSurface.h>
-#endif
#import <WebKitSystemInterfaceIOS.h>
#endif
CGSize WKCTRunGetInitialAdvance(CTRunRef);
#if (TARGET_OS_IPHONE && TARGET_OS_EMBEDDED) || MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
+typedef struct __IOSurface *IOSurfaceRef;
+
CGContextRef WKIOSurfaceContextCreate(IOSurfaceRef, unsigned width, unsigned height, CGColorSpaceRef);
CGImageRef WKIOSurfaceContextCreateImage(CGContextRef context);
#endif