summaryrefslogtreecommitdiff
path: root/src/buildtool/system/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/system/system.cpp')
-rw-r--r--src/buildtool/system/system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildtool/system/system.cpp b/src/buildtool/system/system.cpp
index c84f34cf..228c7806 100644
--- a/src/buildtool/system/system.cpp
+++ b/src/buildtool/system/system.cpp
@@ -18,7 +18,11 @@
#include <cstdlib>
#include <string>
+#ifdef __unix__
#include <unistd.h>
+#else
+#error "Non-unix is not supported yet"
+#endif
void System::ExitWithoutCleanup(int exit_code) {
#ifdef VALGRIND_BUILD