summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/windefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/windows/windefs.h b/include/windows/windefs.h
index 6f173b38d..2497c4b74 100644
--- a/include/windows/windefs.h
+++ b/include/windows/windefs.h
@@ -39,4 +39,7 @@ typedef int pid_t;
char *strsep(char **stringp, const char *delim);
+#define srandom srand
+#define random rand
+
#endif /* windefs.h */