aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-09 21:57:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-09 21:57:27 +0100
commit1103b8b8f06e91f3b9118a4679dd99eb23a77d37 (patch)
tree7283b38250cbde3b0d76d17fdf3aed30bc936561 /src/libserver/worker_util.c
parentc1a9b4988a861fb6087fc76ca549d4c364949ef0 (diff)
downloadrspamd-1103b8b8f06e91f3b9118a4679dd99eb23a77d37.tar.gz
rspamd-1103b8b8f06e91f3b9118a4679dd99eb23a77d37.zip
Update includes.
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r--src/libserver/worker_util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index ea3125ac8..2db047afe 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -33,6 +33,17 @@
#ifdef WITH_GPERF_TOOLS
#include <google/profiler.h>
#endif
+/* sys/resource.h */
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+/* pwd and grp */
+#ifdef HAVE_PWD_H
+#include <pwd.h>
+#endif
+#ifdef HAVE_GRP_H
+#include <grp.h>
+#endif
/**
* Return worker's control structure by its type