diff options
Diffstat (limited to 'klm/util/file.cc')
-rw-r--r-- | klm/util/file.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klm/util/file.cc b/klm/util/file.cc index 1bd056fc..6a3885a7 100644 --- a/klm/util/file.cc +++ b/klm/util/file.cc @@ -10,11 +10,12 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> -#include <unistd.h> #if defined(_WIN32) || defined(_WIN64) #include <windows.h> #include <io.h> +#else +#include <unistd.h> #endif namespace util { |