aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 12:25:14 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 12:25:14 +0300
commit6088008d6c307a553b896eacee60a7ae69fda9dd (patch)
tree16787da296c228c607723df4f798b50b69636379 /config.h.in
parent9c455404d443c748b6398076c1746a12a7458bfc (diff)
downloadrspamd-6088008d6c307a553b896eacee60a7ae69fda9dd.tar.gz
rspamd-6088008d6c307a553b896eacee60a7ae69fda9dd.zip
* With flag -t syntax of modules variables is also inspected
* Set "C" locale on start to avoid some troubles with logging
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 97da9c381..982046338 100644
--- a/config.h.in
+++ b/config.h.in
@@ -39,6 +39,8 @@
#cmakedefine HAVE_LIBGEN_H 1
+#cmakedefine HAVE_LOCALE_H 1
+
#cmakedefine HAVE_GRP_H 1
#cmakedefine HAVE_PWD_H 1
@@ -229,6 +231,11 @@
#define HAVE_DIRNAME 1
#endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#define HAVE_SETLOCALE 1
+#endif
+
#include <errno.h>
#include <signal.h>
#include <event.h>