Qt Windows build fix. Include the time-related headers in the correct place.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2007 05:25:45 +0000 (05:25 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2007 05:25:45 +0000 (05:25 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/JSGlobalObject.cpp
JavaScriptCore/kjs/interpreter.cpp

index f65131d..cd2d964 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-05  Mark Rowe  <mrowe@apple.com>
+
+        Qt Windows build fix.  Include the time-related headers in the correct place.
+
+        * kjs/JSGlobalObject.cpp:
+        * kjs/interpreter.cpp:
+
 2007-12-05  Darin Adler  <darin@apple.com>
 
         Not reviewed; just undoing a previous commit.
index 1ba20b1..15774ce 100644 (file)
 #include "object_object.h"
 #include "regexp_object.h"
 #include "string_object.h"
+
+#if HAVE(SYS_TIME_H)
 #include <sys/time.h>
+#endif
+
+#if PLATFORM(WIN_OS)
+#include <windows.h>
+#endif
+
+#if PLATFORM(QT)
+#include <QDateTime>
+#endif
 
 namespace KJS {
 
index 4fb3764..0166728 100644 (file)
 #include <stdio.h>
 #include <wtf/Assertions.h>
 
-#if HAVE(SYS_TIME_H)
-#include <sys/time.h>
-#endif
-
-#if PLATFORM(WIN_OS)
-#include <windows.h>
-#endif
-
-#if PLATFORM(QT)
-#include <QDateTime>
-#endif
-
 namespace KJS {
 
 Completion Interpreter::checkSyntax(ExecState* exec, const UString& sourceURL, int startingLineNumber, const UString& code)