Code

build fixes by Guenter Knauf
[rrdtool-all.git] / program / src / rrd_tool.h
index 22c404f960cb4e15794fd37449c6d3b700d869ce..4d2d6a8ead4544d27136f09fdd10fa9687cfe681 100644 (file)
@@ -83,6 +83,10 @@ extern "C" {
 
 #include <float.h>        /* for _isnan  */
 #include <io.h>           /* for chdir   */
+#include <process.h>      /* for getpid  */
+
+#define random rand
+#define srandom srand
 
 struct tm* localtime_r(const time_t *timep, struct tm* result);
 char* ctime_r(const time_t *timep, char* result);