Index: gir-repository-0.6.5/gir/Makefile.am
===================================================================
--- gir-repository-0.6.5.orig/gir/Makefile.am
+++ gir-repository-0.6.5/gir/Makefile.am
@@ -829,7 +829,7 @@ Babl-0.1.gir: $(INTROSPECTION_SCANNER)
 	    --libtool="$(LIBTOOL)" \
             --output $@ \
             --pkg babl \
-            -D_BABL_H \
+            -DBABL_INSIDE_BABL_H \
 	    $(BABL_INCLUDEDIR)/babl/*.h
 BUILT_GIRSOURCES += Babl-0.1.gir
 endif BUILD_BABL
