From: Vsevolod Stakhov Date: Fri, 9 Oct 2015 20:57:27 +0000 (+0100) Subject: Update includes. X-Git-Tag: 1.0.5~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1103b8b8f06e91f3b9118a4679dd99eb23a77d37;p=rspamd.git Update includes. --- 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 #endif +/* sys/resource.h */ +#ifdef HAVE_SYS_RESOURCE_H +#include +#endif +/* pwd and grp */ +#ifdef HAVE_PWD_H +#include +#endif +#ifdef HAVE_GRP_H +#include +#endif /** * Return worker's control structure by its type diff --git a/src/rspamd.c b/src/rspamd.c index 596a2511c..19d04aae0 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -49,10 +49,6 @@ #ifdef HAVE_SIGINFO_H #include #endif -/* sys/resource.h */ -#ifdef HAVE_SYS_RESOURCE_H -#include -#endif #ifdef HAVE_SYS_WAIT_H #include #endif