about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/malloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 0765482c51..7ae08d53d3 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -15,4 +15,12 @@ struct malloc_state;
 typedef struct malloc_state *mstate;
 
 # endif /* !_ISOMAC */
+
+#ifdef USE_MTAG
+extern int __mtag_mmap_flags;
+#define MTAG_MMAP_FLAGS __mtag_mmap_flags
+#else
+#define MTAG_MMAP_FLAGS 0
+#endif
+
 #endif