[farsight2/master] Add proper includes to pre-declare functions

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:21 PST 2008


---
 gst-libs/gst/farsight/Makefile.am          |    2 +-
 gst-libs/gst/farsight/fs-base-conference.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/farsight/Makefile.am b/gst-libs/gst/farsight/Makefile.am
index e07d206..9c17fd4 100644
--- a/gst-libs/gst/farsight/Makefile.am
+++ b/gst-libs/gst/farsight/Makefile.am
@@ -78,7 +78,7 @@ fs-enum-types.h: $(fs_headers) Makefile
 
 fs-enum-types.c: $(fs_headers) Makefile
 	( cd $(srcdir) && glib-mkenums \
-			--fhead "#include <fs-conference-iface.h>" \
+			--fhead "#include <fs-conference-iface.h>\n#include <fs-enum-types.h>" \
 			--fprod "\n/* enumerations from \"@filename@\" */" \
 			--vhead "GType\n at enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G at Type@Value values[] = {" 	\
 			--vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
diff --git a/gst-libs/gst/farsight/fs-base-conference.c b/gst-libs/gst/farsight/fs-base-conference.c
index d9f1e6b..bb1e389 100644
--- a/gst-libs/gst/farsight/fs-base-conference.c
+++ b/gst-libs/gst/farsight/fs-base-conference.c
@@ -38,6 +38,7 @@
 
 #include "fs-base-conference.h"
 #include "fs-session.h"
+#include "fs-private.h"
 
 GST_DEBUG_CATEGORY (fs_base_conference_debug);
 #define GST_CAT_DEFAULT fs_base_conference_debug
-- 
1.5.6.5




More information about the farsight-commits mailing list