diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:48:08 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:48:08 -0700 |
commit | a9fba6f528239db087328a34f4a72b6ba8ee0488 (patch) | |
tree | 1c8e942bc8f3f7ca55eda034968fc44dda01c43c /src/main.c | |
parent | aaf01eb861224c6d56c6311fd3d6a9072c7df132 (diff) | |
download | rspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.tar.gz rspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.zip |
Move some rarely used includes from config.h
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 1c5260428..e5c444a5b 100644 --- a/src/main.c +++ b/src/main.c @@ -42,6 +42,10 @@ #include <openssl/rsa.h> #include <openssl/pem.h> #endif +#ifdef HAVE_LOCALE_H +#include <locale.h> +#define HAVE_SETLOCALE 1 +#endif /* 2 seconds to fork new process in place of dead one */ #define SOFT_FORK_TIME 2 |