ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=6ac9fad7e3d387b055d43ee15107501db8895232
commit 6ac9fad7e3d387b055d43ee15107501db8895232 Author: Andy Williams <[email protected]> Date: Wed Feb 11 21:25:09 2015 +0000 Fixing some warnings on Windows. Thanks, Vincent Torri --- elm_code/bin/elm_code_test_main.c | 4 ++++ src/bin/Makefile.am | 2 +- src/bin/edi_build_main.c | 4 ++++ src/bin/edi_main.c | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/elm_code/bin/elm_code_test_main.c b/elm_code/bin/elm_code_test_main.c index 6baba40..7f9311b 100644 --- a/elm_code/bin/elm_code_test_main.c +++ b/elm_code/bin/elm_code_test_main.c @@ -6,6 +6,10 @@ * Always put system first, then EFL, then your public header, * and finally your private one. */ +#if ENABLE_NLS +# include <libintl.h> +#endif + #include <Ecore_Getopt.h> #include <Elementary.h> diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 0d8906d..fb99137 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -42,7 +42,7 @@ mainview/edi_mainview.c \ edi_main.c \ edi_private.h -edi_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la $(top_builddir)/src/lib/libedi.la +edi_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la $(top_builddir)/src/lib/libedi.la $(LTLIBINTL) edi_build_SOURCES = \ edi_build_main.c diff --git a/src/bin/edi_build_main.c b/src/bin/edi_build_main.c index 32346dd..283730f 100644 --- a/src/bin/edi_build_main.c +++ b/src/bin/edi_build_main.c @@ -6,6 +6,10 @@ * Always put system first, then EFL, then your public header, * and finally your private one. */ +#if ENABLE_NLS +# include <libintl.h> +#endif + #include <Ecore_Getopt.h> #include <Eio.h> diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c index b18af64..3959518 100644 --- a/src/bin/edi_main.c +++ b/src/bin/edi_main.c @@ -6,6 +6,10 @@ * Always put system first, then EFL, then your public header, * and finally your private one. */ +#if ENABLE_NLS +# include <libintl.h> +#endif + #include <Ecore_Getopt.h> #include <Elementary.h> #include <Eio.h> --
