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



commit 1bf7e49037f288002f1e393727adcda9503cf43b
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 5da2157..936c5b8 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 f66a2e4..e4641fc 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]