BugFix #7303
authorDiego Borghetti <bdiego@gmail.com>
Thu, 6 Sep 2007 03:18:07 +0000 (03:18 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Thu, 6 Sep 2007 03:18:07 +0000 (03:18 +0000)
More fix to solaris build, patch by Vladimar Marek

intern/elbeem/intern/solver_util.cpp
intern/elbeem/intern/utilities.cpp

index 43be8af46df577c0e2746945938bdcf4241b358a..65cc2200d4e624a436f41a596631e16defdbf167 100644 (file)
@@ -15,6 +15,8 @@
 #include "ntl_world.h"
 #include "simulation_object.h"
 
+#include <stdlib.h> /* rand(3) */
+
 #include <zlib.h>
 #ifndef sqrtf
 #define sqrtf sqrt
index ad827efa2fcbe3b9200959dd06544ad955c8c596..209d0cf69a57574ba4663112a4e665a2da37afed 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <iostream>
 #include <sstream>
+#include <stdlib.h> /* getenv(3), strtol(3) */
 #ifdef WIN32
 // for timing
 #include <windows.h>