diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-20 23:17:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-24 10:57:26 +0100 |
commit | e577096dff714266101ba86ac275864b854096a4 (patch) | |
tree | f7fbae2b30693c70f1d8b21f5d47707987d16032 /boilerplate/cairo-boilerplate-svg.c | |
parent | 0466053099b7f27065267d49c84e9e24bff6c7a1 (diff) |
[boilerplate] Fix compilation against old revisions (as old as 1.9.2!)
Diffstat (limited to 'boilerplate/cairo-boilerplate-svg.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-svg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c index 45e085ce..56296f46 100644 --- a/boilerplate/cairo-boilerplate-svg.c +++ b/boilerplate/cairo-boilerplate-svg.c @@ -35,6 +35,10 @@ #include <signal.h> #endif +#if ! CAIRO_HAS_META_SURFACE +#define CAIRO_SURFACE_TYPE_META CAIRO_INTERNAL_SURFACE_TYPE_META +#endif + static const cairo_user_data_key_t svg_closure_key; typedef struct _svg_target_closure { |