diff options
-rw-r--r-- | src/inspircd.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 858862e9d..dbfbc1797 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -16,17 +16,16 @@ #include <signal.h> #ifndef WIN32 -#include <dirent.h> -#include <unistd.h> -#include <sys/resource.h> -#include <dlfcn.h> -#include <getopt.h> - -/* Some systems don't define RUSAGE_SELF. This should fix them. */ -#ifndef RUSAGE_SELF - #define RUSAGE_SELF 0 -#endif - + #include <dirent.h> + #include <unistd.h> + #include <sys/resource.h> + #include <dlfcn.h> + #include <getopt.h> + + /* Some systems don't define RUSAGE_SELF. This should fix them. */ + #ifndef RUSAGE_SELF + #define RUSAGE_SELF 0 + #endif #endif #include <exception> |