diff options
Diffstat (limited to 'test/pdf-tagged-text.c')
-rw-r--r-- | test/pdf-tagged-text.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pdf-tagged-text.c b/test/pdf-tagged-text.c index 378e6a920..1a2f62dac 100644 --- a/test/pdf-tagged-text.c +++ b/test/pdf-tagged-text.c @@ -42,6 +42,9 @@ #endif #include <cairo.h> + +#if CAIRO_HAS_PDF_SURFACE + #include <cairo-pdf.h> /* This test checks PDF with @@ -604,3 +607,5 @@ CAIRO_TEST (pdf_tagged_text, NULL, /* requirements */ 0, 0, preamble, NULL) + +#endif /* CAIRO_HAS_PDF_SURFACE */ |