Fix compilation using gcc 4.3. Header files have been reorganized and as a result...
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Oct 2007 11:12:20 +0000 (11:12 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Oct 2007 11:12:20 +0000 (11:12 +0000)
includes are needed for INT_MAX, std::auto_ptr and the like.

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

15 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/collector.cpp
JavaScriptCore/kjs/collector.h
JavaScriptCore/kjs/lexer.cpp
JavaScriptCore/kjs/scope_chain.cpp
JavaScriptCore/kjs/ustring.cpp
JavaScriptCore/wtf/Vector.h
WebCore/ChangeLog
WebCore/bridge/AXObjectCache.h
WebCore/ksvg2/misc/SVGDocumentExtensions.h
WebCore/platform/Base64.cpp
WebCore/platform/graphics/svg/SVGPaintServerPattern.h
WebCore/platform/graphics/svg/SVGResourceMasker.h
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/qt/main.cpp

index 66d6a44442ef2177cfc6376173bc7c5edac70ad1..cd716c20fc12681c1e1c185f16a764defa4d158f 100644 (file)
@@ -1,3 +1,17 @@
+2007-10-10  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
+        includes are needed for INT_MAX, std::auto_ptr and the like.
+
+        * kjs/collector.cpp:
+        * kjs/collector.h:
+        * kjs/lexer.cpp:
+        * kjs/scope_chain.cpp:
+        * kjs/ustring.cpp:
+        * wtf/Vector.h:
+
 2007-10-09  Lars Knoll  <lars@trolltech.com>
 
         Reviewed by Simon.
index cedcce564e0fcbfcfc95af3df80fd55628f39e41..dd45adca7ba9db2566e08d1aa7d1af9961324e23 100644 (file)
 
 #include <stdlib.h>
 #include <sys/mman.h>
+#include <unistd.h>
 
 #if HAVE(PTHREAD_NP_H)
 #include <pthread_np.h>
+#else
+#include <pthread.h>
 #endif
 
 #endif
index 7fa40a95a900083d14b70b6764238ac30ae6f660..6fa0f7b5195c0d1480644fb9d076f24704d14c98 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef KJSCOLLECTOR_H_
 #define KJSCOLLECTOR_H_
 
+#include <string.h>
 #include <wtf/HashCountedSet.h>
 
 #define KJS_MEM_LIMIT 500000
index b1e09eea5de9eeaee55aaedf743e57c2d2a4c9e4..07609805a90e187bf7d4d0e50f8a4cc1a406ae35 100644 (file)
@@ -26,6 +26,7 @@
 #include "lexer.h"
 
 #include <ctype.h>
+#include <limits.h>
 #include <string.h>
 
 #include "function.h"
index 3a50f443da858bf51f4b5631076095c75bf44ed9..63e176d893b0f5c5bb896cf0d266823e330beb62 100644 (file)
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "scope_chain.h"
 #include "PropertyNameArray.h"
+#include <stdio.h>
 #include "object.h"
 
 namespace KJS {
index 99789e2acda233a42d6e056ee18d26822beb2a52..ffe8150adcc6a3882bb4119f6eec3224a2e151f0 100644 (file)
@@ -34,6 +34,7 @@
 #include <assert.h>
 #include <ctype.h>
 #include <float.h>
+#include <limits.h>
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
index 317c0dcf56a91ee91f7dca7dec5b15329d744ba3..a11080327f237ae6a36e3e19e28ecece52256937 100644 (file)
@@ -28,6 +28,7 @@
 #include "VectorTraits.h"
 #include <limits>
 #include <stdlib.h>
+#include <string.h>
 #include <utility>
 
 namespace WTF {
index 6fb55ade2661e036655736d86cdc60d6496c67fb..5abaa7e675a71f054e7257c47666c9240d1bbb1b 100644 (file)
@@ -1,3 +1,18 @@
+2007-10-10  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
+        includes are needed for INT_MAX, std::auto_ptr and the like.
+
+        WARNING: NO TEST CASES ADDED OR CHANGED
+
+        * bridge/AXObjectCache.h:
+        * ksvg2/misc/SVGDocumentExtensions.h:
+        * platform/Base64.cpp:
+        * platform/graphics/svg/SVGPaintServerPattern.h:
+        * platform/graphics/svg/SVGResourceMasker.h:
+
 2007-10-08  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Steve Falkenburg.
index 3a306e35e0ab555328fa45cd83453cb40ae6655f..58389febcebe051e6aafb0c077e36a391cff224e 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef AXObjectCache_h
 #define AXObjectCache_h
 
+#include <limits.h>
+
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
 
index f48d45263f80e3c7af8d6b6b432c12292ef1dc22..8d23064db2b2a95b7e67adedc574c8e92f1a259a 100644 (file)
@@ -25,6 +25,7 @@
 
 #if ENABLE(SVG)
 
+#include <memory>
 #include <wtf/Forward.h>
 #include <wtf/HashSet.h>
 #include <wtf/HashMap.h>
index abe2f8eec2bc122503336b6bbf49274a10b73b5b..4c84bcb64c48c6734b6dda6fc6528aa2b99b8a7f 100644 (file)
@@ -23,6 +23,8 @@
 #include "config.h"
 #include "Base64.h"
 
+#include <limits.h>
+
 #include <wtf/Platform.h>
 #include <wtf/StringExtras.h>
 
index cd09a5ba9f91eb89a70adfb592006b3396291bc0..d3f61890ebefd44410a79df7d58b80658d6a00ab 100644 (file)
@@ -32,6 +32,8 @@
 #include "FloatRect.h"
 #include "SVGPaintServer.h"
 
+#include <memory>
+
 #include <wtf/OwnPtr.h>
 
 namespace WebCore {
index 3becacd093632b1d19c4bcb071720c598160aa92..f5c905a899cee67f3cc1bb24511fe33e98a13caf 100644 (file)
@@ -31,6 +31,8 @@
 #include "GraphicsContext.h"
 #include "SVGResource.h"
 
+#include <memory>
+
 #include <wtf/OwnPtr.h>
 
 namespace WebCore {
index 19aeae49aadd04627952a3df5487011a711ffa2a..95093973a978a8e04e5927b9787fdf8a5f5dffde 100644 (file)
@@ -1,3 +1,12 @@
+2007-10-10  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
+        includes are needed for INT_MAX, std::auto_ptr and the like.
+
+        * DumpRenderTree/qt/main.cpp:
+
 2007-10-09  Lars Knoll  <lars@trolltech.com>
 
         Reviewed by Simon.
index 6c02c18c8e1c5d2886e431a08fe9fd0c6b1fac60..29437008743cf4de2a7e684186432f4b944a7db9 100644 (file)
@@ -42,6 +42,7 @@
 #include <fontconfig/fontconfig.h>
 #endif
 
+#include <limits.h>
 #include <signal.h>
 
 Q_IMPORT_PLUGIN(testplugin)