[gtk-vnc] Include vncmarshal.h in vncmarshal.c generation.
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Include vncmarshal.h in vncmarshal.c generation.
- Date: Mon, 17 Aug 2009 19:10:05 +0000 (UTC)
commit 9622297bb1024fb14f96ef5c2fddd073fffaa94b
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Aug 17 15:23:34 2009 -0300
Include vncmarshal.h in vncmarshal.c generation.
This fix a gcc warning.
src/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index fcd7c8e..f883833 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,7 +36,8 @@ EXTRA_DIST += continuation.h continuation.c coroutine_ucontext.c
endif
vncmarshal.c: vncmarshal.txt
- glib-genmarshal --body $< > $@ || (rm -f $@ && exit 1)
+ echo "#include \"vncmarshal.h\"" > $@ && \
+ glib-genmarshal --body $< >> $@ || (rm -f $@ && exit 1)
vncmarshal.h: vncmarshal.txt
glib-genmarshal --header $< > $@ || (rm -f $@ && exit 1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]