summaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-02 08:30:54 -0400
committerAdam <Adam@anope.org>2012-09-02 08:30:54 -0400
commit1af64a9bbb150b9daae3944d6aae86864c271103 (patch)
treec24a1ac6793e997f83ac66810b611f88855fcd90 /src/modulemanager.cpp
parente3d5140dcc936ff411c438b7e3997104cb5f085a (diff)
Fix Windows
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp
index 57b8f850e..5e3f7b6f2 100644
--- a/src/modulemanager.cpp
+++ b/src/modulemanager.cpp
@@ -12,11 +12,12 @@
#include "users.h"
#include <sys/types.h>
+#include <sys/stat.h>
+#ifndef _WIN32
#include <dirent.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
#include <dlfcn.h>
+#endif
std::vector<Module *> ModuleManager::EventHandlers[I_END];