From 36ac4166efdf92ee9a8eb31f9872c57a9ae83c84 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Sun, 19 Jul 2020 12:40:01 -0600 Subject: [PATCH] Define MAP_ANON for dlmalloc --- src/c/dlmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c/dlmalloc.c b/src/c/dlmalloc.c index 6ad2b062..efdfd211 100644 --- a/src/c/dlmalloc.c +++ b/src/c/dlmalloc.c @@ -557,6 +557,7 @@ extern __thread int errno; #endif /*defined(__redox__)*/ #define MAP_PRIVATE 2 +#define MAP_ANON 32 typedef long off_t; int open(const char *pathname, int flags); -- GitLab