[grilo] core: Fix warning



commit cfea51728b3d5a36161b94571ef230506f511882
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu Apr 7 14:45:04 2011 +0000

    core: Fix warning
    
    Include header with the complained definition.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 036e9e8..5dd865a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,8 +13,9 @@ grl-marshal.h: grl-marshal.list
 	--header grl-marshal.list > $@
 
 grl-marshal.c: grl-marshal.h grl-marshal.list
+	@echo "#include \"grl-marshal.h\"" > $@
 	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix grl_marshal	\
-	--body grl-marshal.list > $@
+	--body grl-marshal.list >> $@
 
 grl-type-builtins.h: grl-media-source.h grl-type-builtins.h.template
 	$(AM_V_GEN) $(GLIB_MKENUMS) --template grl-type-builtins.h.template	\



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