summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 2eff8186d..26f2c9ef2 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -42,8 +42,10 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
+#ifndef RUSAGE_SELF
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
+#endif
#include "connection.h"
#include "users.h"
#include "servers.h"