diff --git a/gfx/cairo/cairo/src/Makefile.in b/gfx/cairo/cairo/src/Makefile.in index e45546d57c58..681ffa1fbb9f 100644 --- a/gfx/cairo/cairo/src/Makefile.in +++ b/gfx/cairo/cairo/src/Makefile.in @@ -81,6 +81,7 @@ CSRCS = \ cairo-debug.c \ cairo-deflate-stream.c \ cairo-fixed.c \ + cairo-font-face.c \ cairo-font-options.c \ cairo-freelist.c \ cairo-gstate.c \ @@ -197,3 +198,7 @@ DEFINES += -DPACKAGE_VERSION="\"moz\"" -DPACKAGE_BUGREPORT="\"http://bugzilla.mo ifeq ($(MOZ_WIDGET_TOOLKIT),windows) DEFINES += -DCAIRO_WIN32_STATIC_BUILD endif + +ifdef MOZ_TREE_CAIRO +DEFINES += -DMOZ_TREE_CAIRO +endif diff --git a/gfx/cairo/cairo/src/cairoint.h b/gfx/cairo/cairo/src/cairoint.h index d9b675dca407..792a76c61861 100644 --- a/gfx/cairo/cairo/src/cairoint.h +++ b/gfx/cairo/cairo/src/cairoint.h @@ -64,7 +64,11 @@ #include #include "cairo.h" +#ifdef MOZ_TREE_CAIRO +#include "pixman.h" +#else #include +#endif #ifdef _MSC_VER #define snprintf _snprintf