devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3fd6061505d4b2e96f550b8204d076e4f309c31a

commit 3fd6061505d4b2e96f550b8204d076e4f309c31a
Author: Chris Michael <[email protected]>
Date:   Tue Jun 10 15:52:50 2014 -0400

    elua: Fix building of binary
    
    If we have ENABLE_NLS then we need to #include <locale.h> for the
    'setlocale' function else we get an implicit function declaration
    warning, and a build failure due to LC_ALL not being defined
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/elua/main.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/elua/main.h b/src/bin/elua/main.h
index bbd3c0b..8dbbfdc 100644
--- a/src/bin/elua/main.h
+++ b/src/bin/elua/main.h
@@ -6,6 +6,7 @@
 #endif
 
 #if ENABLE_NLS
+# include <locale.h>
 # include <libintl.h>
 # define _(x) dgettext(PACKAGE, x)
 #else

-- 


Reply via email to