summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-11 16:31:50 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-11 16:31:50 +0000
commit704c793d479f835180e9d89d82cd21a2c6c6521d (patch)
treeac4327b2fbf04e2c70885654ddc20b44ae1c9347
parent05e6330fbd6e9a427c09cf90e2cada10656c48f7 (diff)
Fix compilation due to dirent header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12092 e03df62e-2008-0410-955e-edbf42e46eb7
-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)