summaryrefslogtreecommitdiff
path: root/src/common/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/utils.c')
-rw-r--r--src/common/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index 08ac8db15..296df7e70 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -15,8 +15,7 @@
#include <math.h> // floor()
#ifdef WIN32
- #include <io.h>
- #include <windows.h>
+ #include "../common/winapi.h"
#ifndef F_OK
#define F_OK 0x0
#endif /* F_OK */