diff options
author | Adam <Adam@anope.org> | 2012-09-02 08:30:54 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-09-02 08:30:54 -0400 |
commit | 1af64a9bbb150b9daae3944d6aae86864c271103 (patch) | |
tree | c24a1ac6793e997f83ac66810b611f88855fcd90 /src/modulemanager.cpp | |
parent | e3d5140dcc936ff411c438b7e3997104cb5f085a (diff) |
Fix Windows
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r-- | src/modulemanager.cpp | 5 |
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]; |