Title: [93319] trunk/Tools
Revision
93319
Author
[email protected]
Date
2011-08-18 10:21:21 -0700 (Thu, 18 Aug 2011)

Log Message

Fix libc++ C++0x build
https://bugs.webkit.org/show_bug.cgi?id=66479

Reviewed by Adam Roben.

Add missing includes.

* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/mac/CheckedMalloc.cpp:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (93318 => 93319)


--- trunk/Tools/ChangeLog	2011-08-18 17:20:29 UTC (rev 93318)
+++ trunk/Tools/ChangeLog	2011-08-18 17:21:21 UTC (rev 93319)
@@ -1,3 +1,15 @@
+2011-08-18  Anders Carlsson  <[email protected]>
+
+        Fix libc++ C++0x build
+        https://bugs.webkit.org/show_bug.cgi?id=66479
+
+        Reviewed by Adam Roben.
+
+        Add missing includes.
+
+        * DumpRenderTree/LayoutTestController.cpp:
+        * DumpRenderTree/mac/CheckedMalloc.cpp:
+
 2011-08-18  Adam Roben  <[email protected]>
 
         Test that WebKit updates style when a WebView is moved between differently-scaled windows

Modified: trunk/Tools/DumpRenderTree/LayoutTestController.cpp (93318 => 93319)


--- trunk/Tools/DumpRenderTree/LayoutTestController.cpp	2011-08-18 17:20:29 UTC (rev 93318)
+++ trunk/Tools/DumpRenderTree/LayoutTestController.cpp	2011-08-18 17:21:21 UTC (rev 93319)
@@ -36,6 +36,7 @@
 #include <_javascript_Core/JSContextRef.h>
 #include <_javascript_Core/JSObjectRef.h>
 #include <_javascript_Core/JSRetainPtr.h>
+#include <locale.h>
 #include <stdio.h>
 #include <wtf/Assertions.h>
 #include <wtf/MathExtras.h>

Modified: trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp (93318 => 93319)


--- trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp	2011-08-18 17:20:29 UTC (rev 93318)
+++ trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp	2011-08-18 17:21:21 UTC (rev 93319)
@@ -35,6 +35,7 @@
 #import <mach/mach_vm.h>
 #import <mach/vm_region.h>
 #import <malloc/malloc.h>
+#import <unistd.h>
 
 static void* (*savedMalloc)(malloc_zone_t*, size_t);
 static void* (*savedRealloc)(malloc_zone_t*, void*, size_t);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to