summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 6b131b92..5b6c7885 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -9,6 +9,10 @@
#endif // HAVE_CONFIG_H
extern "C" {
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif // HAVE_LOCALE_H
+
#include "gettext.h"
}