atkobject: add a explicit include to locale.h
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 19 Feb 2013 11:05:08 +0000 (12:05 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 19 Feb 2013 11:05:08 +0000 (12:05 +0100)
Bug 694117 add a default implementation for
atk_object_get_object_locale that uses setlocale. It was
reported that in some environments compilation fails due
the lack of the explicit include to locale.h.

atk/atkobject.c

index 26e6c2f..ea0df36 100755 (executable)
@@ -18,6 +18,7 @@
  */
 
 #include <string.h>
+#include <locale.h>
 
 #include <glib-object.h>