aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 0efb512ea..2e8700f02 100644
--- a/src/main.c
+++ b/src/main.c
@@ -72,7 +72,7 @@
#include <grp.h>
#endif
-#ifdef HAVE_LOCALE
+#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
@@ -221,7 +221,7 @@ int main(int argc, char *argv[])
daemonize_close_stdin();
-#ifdef HAVE_LOCALE
+#ifdef HAVE_LOCALE_H
/* initialize locale */
setlocale(LC_CTYPE,"");
#endif