summaryrefslogtreecommitdiff
path: root/src/common/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/random.c')
-rw-r--r--src/common/random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/random.c b/src/common/random.c
index 224b71fdb..367d26cfe 100644
--- a/src/common/random.c
+++ b/src/common/random.c
@@ -5,8 +5,7 @@
#include "../common/timer.h" // gettick
#include "random.h"
#if defined(WIN32)
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
+ #include "../common/winapi.h"
#elif defined(HAVE_GETPID) || defined(HAVE_GETTID)
#include <sys/types.h>
#include <unistd.h>