summaryrefslogtreecommitdiff
path: root/kernel/driver.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-17 12:04:40 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-17 12:04:40 +0200
commit4df902637a3b486ab4836ddc2bde7889c6dccfeb (patch)
treecf1e9fe87fe6be8b7c8d5c23a125000dddef795c /kernel/driver.cc
parent31267a1ae8d670c4b8749fc55b07c01d9285a488 (diff)
Various MXE build fixes
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r--kernel/driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 7f2cdb32..7a3cd1a1 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -30,7 +30,7 @@
#include <limits.h>
#include <errno.h>
-#ifndef _WIN32
+#if !defined(_WIN32) || defined(__MINGW32__)
# include <unistd.h>
#endif