[nautilus-sendto] main: Fix build on some systems
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] main: Fix build on some systems
- Date: Mon, 1 Feb 2016 15:23:38 +0000 (UTC)
commit e49743759f3d9d2fd1ae76753e4161468c7253f3
Author: Bastien Nocera <hadess hadess net>
Date: Mon Feb 1 16:19:51 2016 +0100
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
src/nautilus-sendto.c | 1 +
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]