2007-11-08 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 19:49:23 +0000 (19:49 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 19:49:23 +0000 (19:49 +0000)
        Build fix for JavaScriptGlue.

        * wtf/MathExtras.h: Include stdlib.h for srand and RAND_MAX.

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

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/MathExtras.h

index 0e648ddcc3860c6f46b11b98ae2893ed11da6852..d5f9d27195bc69bc744abf297a020c43428cf280 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-08  Mark Rowe  <mrowe@apple.com>
+
+        Build fix for JavaScriptGlue.
+
+        * wtf/MathExtras.h: Include stdlib.h for srand and RAND_MAX.
+
 2007-11-08  Darin Adler  <darin@apple.com>
 
         - Windows build fix
index bd129cca99a3d282351efe4290501732999fa888..52010a288f0423d02f4299b3ac9ddaa9eb9fda3a 100644 (file)
@@ -27,6 +27,7 @@
 #define WTF_MathExtras_h
 
 #include <math.h>
+#include <stdlib.h>
 #include <time.h>
 
 #if COMPILER(MSVC)