summaryrefslogtreecommitdiff
path: root/src/common/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timer.c')
-rw-r--r--src/common/timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index 32bc30520..c239a9d70 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -14,8 +14,7 @@
#include <time.h>
#ifdef WIN32
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h> // GetTickCount()
+#include "../common/winapi.h" // GetTickCount()
#else
#include <unistd.h>
#include <sys/time.h> // struct timeval, gettimeofday()