summaryrefslogtreecommitdiffstats
path: root/ingen/filesystem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/filesystem.hpp')
-rw-r--r--ingen/filesystem.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ingen/filesystem.hpp b/ingen/filesystem.hpp
index 5156eb79..8be6b1f4 100644
--- a/ingen/filesystem.hpp
+++ b/ingen/filesystem.hpp
@@ -27,6 +27,8 @@
# include <io.h>
# define F_OK 0
# define mkdir(path, flags) _mkdir(path)
+#else
+# include <unistd.h>
#endif
#include <cerrno>