diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-15 16:30:06 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-15 16:30:06 +0400 |
commit | 0f53bbf368af43ecc67519d5de0a483f92a2dbc8 (patch) | |
tree | 405fc86a25f5e608c10429d61ca1f8d04e8a0ed9 /config.h.in | |
parent | 6663e20a1a0e14eba4cb31d3e3bb19d989180c54 (diff) | |
download | rspamd-0f53bbf368af43ecc67519d5de0a483f92a2dbc8.tar.gz rspamd-0f53bbf368af43ecc67519d5de0a483f92a2dbc8.zip |
* Include sys/resource.h for getrlimit
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 6d07ba8d3..1fd8a5361 100644 --- a/config.h.in +++ b/config.h.in @@ -60,6 +60,7 @@ #cmakedefine HAVE_SYS_WAIT_H 1 #cmakedefine HAVE_SYS_PARAM_H 1 #cmakedefine HAVE_SYS_FILE_H 1 +#cmakedefine HAVE_SYS_RESOURCE_H 1 #cmakedefine HAVE_PIDFILE 1 @@ -223,6 +224,11 @@ #include <sys/wait.h> #endif +/* sys/resource.h */ +#ifdef HAVE_SYS_RESOURCE_H +#include <sys/resource.h> +#endif + /* math */ #ifdef HAVE_MATH_H #include <math.h> |