diff -Nurd gstreamer-0.10.17.orig/docs/plugins/Makefile.am gstreamer-0.10.17/docs/plugins/Makefile.am
--- gstreamer-0.10.17.orig/docs/plugins/Makefile.am	2007-07-05 04:42:42.000000000 -0400
+++ gstreamer-0.10.17/docs/plugins/Makefile.am	2008-03-12 21:10:56.000000000 -0400
@@ -97,7 +97,7 @@
 
 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
 # contains GtkObjects/GObjects and you want to document signals and properties.
-GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_builddir) -I$(top_builddir)/libs
+GTKDOC_CFLAGS = -I$(top_builddir) -I$(top_builddir)/libs $(GST_OBJ_CFLAGS)
 GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_OBJ_LIBS)
 
 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
diff -Nurd gstreamer-0.10.17.orig/tests/examples/controller/Makefile.am gstreamer-0.10.17/tests/examples/controller/Makefile.am
--- gstreamer-0.10.17.orig/tests/examples/controller/Makefile.am	2005-12-12 09:02:14.000000000 -0500
+++ gstreamer-0.10.17/tests/examples/controller/Makefile.am	2008-03-12 21:10:44.000000000 -0400
@@ -1,5 +1,5 @@
 noinst_PROGRAMS = audio-example
 
-audio_example_CFLAGS  = $(GST_OBJ_CFLAGS) -I$(top_builddir)/libs
+audio_example_CFLAGS  = -I$(top_builddir)/libs $(GST_OBJ_CFLAGS)
 audio_example_LDADD = $(GST_OBJ_LIBS)
 audio_example_LDFLAGS = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la
