summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2023-01-15 19:25:50 +1030
committerAdrian Johnson <ajohnson@redneon.com>2023-01-15 19:29:28 +1030
commita2b376ed787fc35270421730863411a0c047f564 (patch)
tree2f63be085d542ae56566a6c9a317d1483471d442 /test
parentc9187c529eb8574bfdc67c556cb0944a05e697cd (diff)
downloadcairo-a2b376ed787fc35270421730863411a0c047f564.tar.gz
pdf-tagged-text depends on PDF
Diffstat (limited to 'test')
-rw-r--r--test/pdf-tagged-text.c5
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 */