aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/C_FileIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/C_FileIO.cpp')
-rw-r--r--[-rwxr-xr-x]CPP/Common/C_FileIO.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/CPP/Common/C_FileIO.cpp b/CPP/Common/C_FileIO.cpp
index 0e5647f..d68a427 100755..100644
--- a/CPP/Common/C_FileIO.cpp
+++ b/CPP/Common/C_FileIO.cpp
@@ -1,9 +1,13 @@
-// Common/C_FileIO.h
+// Common/C_FileIO.cpp
#include "C_FileIO.h"
#include <fcntl.h>
+#ifdef _WIN32
+#include <io.h>
+#else
#include <unistd.h>
+#endif
namespace NC {
namespace NFile {