]> www.ginac.de Git - cln.git/blobdiff - src/base/random/cl_random_from.cc
* Change all C include headers to ISO style within C++ code.
[cln.git] / src / base / random / cl_random_from.cc
index 546bd3e15a92b41fe518b07cb3f187cbb83ddff7..1b2ad609dc51e30e80b45099cd7eaea516227ba4 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <sys/types.h>
 #include <unistd.h> // declares getpid()
-#include <stdlib.h> // declares rand()
+#include <cstdlib>  // declares rand()
 
 #if defined(HAVE_GETTIMEOFDAY)
 
@@ -36,7 +36,7 @@ inline uint32 get_seed (void)
 
 #elif defined(HAVE_TIMES_CLOCK)
 
-#include <time.h>
+#include <ctime>
 #ifndef CLK_TCK
 #include <sys/time.h>
 #endif