diff options
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 11 |
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 |