summaryrefslogtreecommitdiff
path: root/src/fileutils.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-20 10:24:16 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-20 10:24:16 +0100
commit5b152cfcd993119c0d0ef87b73b3b0f20c940cdc (patch)
tree3f4fde520f5afd9f7950862607e88e6fc81f0af3 /src/fileutils.cpp
parentd2ffdfc2ce33259ea8bfa225cbd44b2ea336b6e7 (diff)
Deduplicate dirent.h inclusion.
Diffstat (limited to 'src/fileutils.cpp')
-rw-r--r--src/fileutils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileutils.cpp b/src/fileutils.cpp
index d5e1e5839..6c98ba300 100644
--- a/src/fileutils.cpp
+++ b/src/fileutils.cpp
@@ -21,6 +21,10 @@
#include <fstream>
+#ifndef _WIN32
+# include <dirent.h>
+#endif
+
FileReader::FileReader(const std::string& filename)
{
Load(filename);