summaryrefslogtreecommitdiffhomepage
path: root/src/ac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ac.c')
-rw-r--r--src/ac.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ac.c b/src/ac.c
index 8b163b9..8c98cfb 100644
--- a/src/ac.c
+++ b/src/ac.c
@@ -17,6 +17,13 @@
#include <stdlib.h>
+#ifdef _WIN32
+#include <Windows.h>
+#include <werapi.h>
+#else
+#include <sys/mman.h>
+#endif
+
#include "alias.h"
#include "bind.h"
#include "chunklets/fastspin.h"
@@ -41,10 +48,6 @@
#include "x86.h"
#include "x86util.h"
-#ifdef _WIN32
-#include <werapi.h> // must be after Windows.h (via os.h)
-#endif
-
FEATURE()
REQUIRE(bind)
REQUIRE(democustom)