Reviewed by Darin.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2008 12:27:46 +0000 (12:27 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2008 12:27:46 +0000 (12:27 +0000)
        - fix http://bugs.webkit.org/show_bug.cgi?id=17340
          WebCore/platform/Timer.cpp fails to build with gcc 4.3

        * platform/Timer.cpp: Add include of <limits.h> since this file uses UINT_MAX.

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

WebCore/ChangeLog
WebCore/platform/Timer.cpp

index 7e888d7346ea23344f9f9a35c6429fa16668aa58..bfff7531eab6901a6816f4cab78d5a6384a6664b 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-12  Bernhard Rosenkraenzer  <bero@arklinux.org>
+
+        Reviewed by Darin.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=17340
+          WebCore/platform/Timer.cpp fails to build with gcc 4.3
+
+        * platform/Timer.cpp: Add include of <limits.h> since this file uses UINT_MAX.
+
 2008-02-12  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Brady Eidson.
index bf2eeefb6852f110ace780c962bdeaf3b67f2b2c..94e2af8eecba8595015b52ac1579e85add091ff4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -28,8 +28,9 @@
 
 #include "SharedTimer.h"
 #include "SystemTime.h"
-#include <math.h>
+#include <limits.h>
 #include <limits>
+#include <math.h>
 #include <wtf/HashSet.h>
 #include <wtf/Vector.h>