JavaScriptCore:
Reviewed by Darin.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=8507
Compilation fixes for building on gcc 4.0.2, and without precomp headers
* kjs/operations.h:
* kxmlcore/Assertions.cpp:
* kxmlcore/FastMalloc.cpp:
Added necessary headers to resolve compilation issues when not using
precompiled headers.
* kjs/value.h: Declare the JSCell class before friend declaration
to resolve compilation issues with gcc 4.0.2.
* kxmlcore/Platform.h: Set Unicode support to use ICU on platforms
other than KDE (previously only defined for Win and Mac OS)
WebCore:
Reviewed by Darin.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=8507
Compilation fixes for building on gcc 4.0.2, and without precomp headers
* platform/Cursor.h: Created a fallback case that typedefs PlatformCursor
to void * if it isn't defined to anything else. (Useful to help get new ports
initially compiling.)
* bindings/js/kjs_window.cpp:
* rendering/RenderTextField.cpp:
* rendering/RenderBox.cpp:
Add missing headers to resolve issues when compiling without precompiled
headers.
* rendering/RenderText.h: Declare the InlineTextBox class before
friend declaration to resolve compilation issues with gcc 4.0.2.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/kxmlcore/Assertions.cpp b/JavaScriptCore/kxmlcore/Assertions.cpp
index d2f3d2e..8a82e29 100644
--- a/JavaScriptCore/kxmlcore/Assertions.cpp
+++ b/JavaScriptCore/kxmlcore/Assertions.cpp
@@ -26,8 +26,9 @@
#include "config.h"
#include "Assertions.h"
-#include "stdio.h"
-#include "stdarg.h"
+#include <stdio.h>
+#include <stdarg.h>
+#include <string.h>
#if PLATFORM(MAC)
#include <CoreFoundation/CFString.h>