[glib] We need <locale.h> in gsettingsschema.c now



commit f9cc0786715afa977e4fa55a684ba2e12f98a203
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Nov 18 09:41:07 2011 +0000

    We need <locale.h> in gsettingsschema.c now
    
    for LC_TIME (since we moved a bunch of code over from gsettings.c).

 gio/gsettings.c       |    1 -
 gio/gsettingsschema.c |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index 3d25107..38e114c 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -24,7 +24,6 @@
 
 #include <glib.h>
 #include <glibintl.h>
-#include <locale.h>
 
 #include "gsettings.h"
 
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index 793df92..1de7177 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -27,6 +27,7 @@
 #include "strinfo.c"
 
 #include <glibintl.h>
+#include <locale.h>
 #include <string.h>
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]