summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/OSSupport/File.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index fc3ddbdeb..03d621a38 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -9,6 +9,8 @@
#include <fstream>
#ifdef _WIN32
#include <share.h> // for _SH_DENYWRITE
+#else
+ #include <dirent.h>
#endif // _WIN32