X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Frculfhash-mm-mmap.c;h=b136e1ae0eb73b46d2035cf2bbd9e470f96861d3;hb=b8aa16822f579a6e15b41d2761801a0a65d5f2a5;hp=4554ed6007f20df68bfac3f2fe74a5a9e39c55fc;hpb=10a8a2237343699e3923d87e24dbf2d7fe225377;p=lttng-tools.git diff --git a/src/common/hashtable/rculfhash-mm-mmap.c b/src/common/hashtable/rculfhash-mm-mmap.c index 4554ed600..b136e1ae0 100644 --- a/src/common/hashtable/rculfhash-mm-mmap.c +++ b/src/common/hashtable/rculfhash-mm-mmap.c @@ -24,6 +24,10 @@ #include #include "rculfhash-internal.h" +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + /* reserve inaccessible memory space without allocation any memory */ static void *memory_map(size_t length) {