summaryrefslogtreecommitdiff
path: root/util/cairo-sphinx/sphinx.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cairo-sphinx/sphinx.c')
-rw-r--r--util/cairo-sphinx/sphinx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cairo-sphinx/sphinx.c b/util/cairo-sphinx/sphinx.c
index 3a6c04c35..238d40064 100644
--- a/util/cairo-sphinx/sphinx.c
+++ b/util/cairo-sphinx/sphinx.c
@@ -35,6 +35,10 @@
# error "cairo-sphinx needs real pthreads"
#endif
+#ifndef MAP_NORESERVE
+#define MAP_NORESERVE 0
+#endif
+
#define DATA_SIZE (256 << 20)
#define SHM_PATH_XXX "/shmem-cairo-sphinx"