aboutsummaryrefslogtreecommitdiff
path: root/pixman/test
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/test')
-rw-r--r--pixman/test/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/test/utils.c b/pixman/test/utils.c
index 22ab02fae..d7038a36e 100644
--- a/pixman/test/utils.c
+++ b/pixman/test/utils.c
@@ -218,7 +218,7 @@ typedef struct
int n_bytes;
} info_t;
-#if defined(HAVE_MPROTECT) && defined(HAVE_GETPAGESIZE)
+#if defined(HAVE_MPROTECT) && defined(HAVE_GETPAGESIZE) && defined(HAVE_SYS_MMAN_H)
/* This is apparently necessary on at least OS X */
#ifndef MAP_ANONYMOUS