2010-10-23 David Kilzer <ddkilzer@apple.com>
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Oct 2010 20:53:10 +0000 (20:53 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Oct 2010 20:53:10 +0000 (20:53 +0000)
        <http://webkit.org/b/48181> Add missing include of MacErrors.h

        Reviewed by Alexey Proskuryakov.

        * platform/network/mac/FormDataStreamMac.mm: Added #import of
        <MacErrors.h> for iOS since the formOpen() method uses "fnfErr",
        which was added in r55670.  The same header is included through
        <CoreServices/CoreServices.h> on Mac OS X.

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

WebCore/ChangeLog
WebCore/platform/network/mac/FormDataStreamMac.mm

index 0d4841f..0fce9b1 100644 (file)
@@ -1,3 +1,14 @@
+2010-10-23  David Kilzer  <ddkilzer@apple.com>
+
+        <http://webkit.org/b/48181> Add missing include of MacErrors.h
+
+        Reviewed by Alexey Proskuryakov.
+
+        * platform/network/mac/FormDataStreamMac.mm: Added #import of
+        <MacErrors.h> for iOS since the formOpen() method uses "fnfErr",
+        which was added in r55670.  The same header is included through
+        <CoreServices/CoreServices.h> on Mac OS X.
+
 2010-10-23  Patrick Gansterer  <paroga@webkit.org>
 
         Reviewed by David Kilzer.
index 9b5884f..69af91a 100644 (file)
 #import <wtf/StdLibExtras.h>
 #import <wtf/Threading.h>
 
+#if PLATFORM(IOS)
+#import <MacErrors.h>
+#else
+#import <CoreServices/CoreServices.h>
+#endif
+
 namespace WebCore {
 
 typedef HashMap<CFReadStreamRef, RefPtr<FormData> > StreamFormDataMap;