summaryrefslogtreecommitdiff
path: root/src/modmanager_dynamic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modmanager_dynamic.cpp')
-rw-r--r--src/modmanager_dynamic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index b4a1d5906..156105ad8 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -19,6 +19,10 @@
#include "dns.h"
#include "exitcodes.h"
+#ifndef WIN32
+#include <dirent.h>
+#endif
+
#ifndef PURE_STATIC
bool ModuleManager::Load(const char* filename)