summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index eb8894c43..08a8cda36 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -21,10 +21,12 @@
#include <sys/resource.h>
#include <dlfcn.h>
#include <getopt.h>
-/* This is just to be completely certain that the change which fixed getrusage on RH7 doesn't break anything else -- Om */
+
+/* Some systems don't define RUSAGE_SELF. This should fix them. */
#ifndef RUSAGE_SELF
-#define RUSAGE_SELF 0
+ #define RUSAGE_SELF 0
#endif
+
#endif
#include <exception>