--- lib/secret-storage/nondumpable-allocator.c.orig	2022-08-28 21:50:04.000000000 +1000
+++ lib/secret-storage/nondumpable-allocator.c	2022-11-02 22:28:23.000000000 +1100
@@ -90,6 +90,10 @@ _exclude_memory_from_core_dump(gpointer 
   return TRUE;
 }
 
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
 static gpointer
 _mmap(gsize len)
 {
