diff options
Diffstat (limited to 'test/pdf-tagged-text.c')
-rw-r--r-- | test/pdf-tagged-text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pdf-tagged-text.c b/test/pdf-tagged-text.c index 8908eb25d..d0617d0d3 100644 --- a/test/pdf-tagged-text.c +++ b/test/pdf-tagged-text.c @@ -465,7 +465,9 @@ check_created_pdf(cairo_test_context_t *ctx, const char* filename) cairo_test_status_t result = CAIRO_TEST_SUCCESS; int fd; struct stat st; +#ifdef HAVE_MMAP void *contents; +#endif fd = open(filename, O_RDONLY, 0); if (fd < 0) { |