killed a #define similar to olsr.c
authorBernd Petrovitsch <bernd@firmix.at>
Fri, 31 Oct 2008 22:50:41 +0000 (23:50 +0100)
committerBernd Petrovitsch <bernd@firmix.at>
Fri, 31 Oct 2008 22:50:41 +0000 (23:50 +0100)
src/scheduler.c

index c633934..a0a1a05 100644 (file)
 #include "net_os.h"
 
 #include <errno.h>
-
-#ifdef WIN32
-#define random(x) rand(x)
-#endif
+#include <unistd.h>
 
 /* Timer data, global. Externed in scheduler.h */
 clock_t now_times;                    /* current idea of times(2) reported uptime */