summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-02-01 16:19:51 +0100
committerBastien Nocera <hadess@hadess.net>2016-02-01 16:19:51 +0100
commite49743759f3d9d2fd1ae76753e4161468c7253f3 (patch)
tree9ab2450435e574c2b77d572b11b4c4a36d09ddfb
parent4b6a5146068e5c4f0d60aabbf2901bc9a9bce4a2 (diff)
downloadnautilus-sendto-e49743759f3d9d2fd1ae76753e4161468c7253f3.tar.gz
main: Fix build on some systems
As a follow-up to 4b6a5146068e5c4f0d60aabbf2901bc9a9bce4a2, make sure to include locale.h to avoid setlocale() and LC_ALL not being defined. Those should already be dragged in by gi18n.h but it seems it doesn't work on some systems. ://bugzilla.gnome.org/show_bug.cgi?id=760664
-rw-r--r--src/nautilus-sendto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-sendto.c b/src/nautilus-sendto.c
index c804c31..8d618b9 100644
--- a/src/nautilus-sendto.c
+++ b/src/nautilus-sendto.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <stdlib.h>
#include <glib/gi18n.h>
+#include <locale.h>
#include <glib/gstdio.h>
#include <gio/gio.h>