[gnome-settings-daemon/gnome-3-24] common: include missing header files for LC_ALL



commit 6e719ad9ddd1bcde665cb9128e7df47fedb89ae3
Author: Jonathan Kang <jonathan121537 gmail com>
Date:   Wed Aug 30 11:08:20 2017 +0800

    common: include missing header files for LC_ALL
    
    fixes commit 9fddecc4641709308dec0300a778a32a2b17aafd.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786978

 plugins/common/daemon-skeleton-gtk.h |    1 +
 plugins/common/daemon-skeleton.h     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/daemon-skeleton-gtk.h b/plugins/common/daemon-skeleton-gtk.h
index 8912ea8..919179f 100644
--- a/plugins/common/daemon-skeleton-gtk.h
+++ b/plugins/common/daemon-skeleton-gtk.h
@@ -13,6 +13,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <locale.h>
 
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
diff --git a/plugins/common/daemon-skeleton.h b/plugins/common/daemon-skeleton.h
index 6db90de..b10da49 100644
--- a/plugins/common/daemon-skeleton.h
+++ b/plugins/common/daemon-skeleton.h
@@ -13,6 +13,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <locale.h>
 
 #include <glib/gi18n.h>
 


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