windefs: srandom() and random() for windows.
[sliver-openvswitch.git] / include / windows / windefs.h
index 6f173b3..2497c4b 100644 (file)
@@ -39,4 +39,7 @@ typedef int pid_t;
 
 char *strsep(char **stringp, const char *delim);
 
+#define srandom srand
+#define random rand
+
 #endif /* windefs.h */