aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 67901371e..53ea8c592 100644
--- a/src/main.c
+++ b/src/main.c
@@ -45,6 +45,10 @@
#include <signal.h>
#include <string.h>
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
/* time between mpd updates [s] */
static const guint update_interval = 500;