[gimp/metadata-browser] devel-docs: Fix compilation, include gegl.h



commit f8a29be3864f1408de18d555541a8e4a57f7069a
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed May 2 21:03:03 2012 +0200

    devel-docs: Fix compilation, include gegl.h

 devel-docs/libgimp/Makefile.am |    1 +
 devel-docs/tools/Makefile.am   |    4 +++-
 devel-docs/tools/widgets.c     |    2 ++
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/devel-docs/libgimp/Makefile.am b/devel-docs/libgimp/Makefile.am
index 3cca486..62bd2f9 100644
--- a/devel-docs/libgimp/Makefile.am
+++ b/devel-docs/libgimp/Makefile.am
@@ -48,6 +48,7 @@ GTKDOC_CFLAGS = \
 	@CFLAGS@		\
 	-I$(top_srcdir) 	\
 	-I$(top_builddir) 	\
+	$(GEGL_CFLAGS)		\
 	@GTK_CFLAGS@		\
 	-UGTK_DISABLE_SINGLE_INCLUDES
 
diff --git a/devel-docs/tools/Makefile.am b/devel-docs/tools/Makefile.am
index 3da7867..9ac10fa 100644
--- a/devel-docs/tools/Makefile.am
+++ b/devel-docs/tools/Makefile.am
@@ -10,7 +10,9 @@ libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSIO
 
 AM_CPPFLAGS = $(GTK_CFLAGS) -DTOP_SRCDIR=\"$(top_srcdir)\"
 
-INCLUDES = -I$(top_srcdir)
+INCLUDES = \
+	-I$(top_srcdir)	\
+	$(GEGL_CFLAGS)
 
 
 if ENABLE_GTK_DOC
diff --git a/devel-docs/tools/widgets.c b/devel-docs/tools/widgets.c
index c700f9d..54b9efb 100644
--- a/devel-docs/tools/widgets.c
+++ b/devel-docs/tools/widgets.c
@@ -1,6 +1,8 @@
 
 #include "config.h"
 
+#include <gegl.h>
+
 #include <gdk/gdkx.h>
 #include <gtk/gtk.h>
 



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