]> source.dussan.org Git - rspamd.git/commitdiff
Update includes.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 9 Oct 2015 20:57:27 +0000 (21:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 9 Oct 2015 20:57:27 +0000 (21:57 +0100)
src/libserver/worker_util.c
src/rspamd.c

index ea3125ac851e5f21a38994348e36754ae3af2125..2db047afeb8782eebcf6c551630aa677998bcff4 100644 (file)
 #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
index 596a2511c37d08503ae13c7417f746a33f44a73f..19d04aae0978df97530d4789130fa782ed86d117 100644 (file)
 #ifdef HAVE_SIGINFO_H
 #include <siginfo.h>
 #endif
-/* sys/resource.h */
-#ifdef HAVE_SYS_RESOURCE_H
-#include <sys/resource.h>
-#endif
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif