aboutsummaryrefslogtreecommitdiff
path: root/bits/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/mman.h')
-rw-r--r--bits/mman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bits/mman.h b/bits/mman.h
index 0afdf202a1..99e3bcd1e8 100644
--- a/bits/mman.h
+++ b/bits/mman.h
@@ -41,6 +41,9 @@
# define MAP_FILE 0x0001 /* Mapped from a file or device. */
# define MAP_ANON 0x0002 /* Allocated from anonymous virtual memory. */
# define MAP_TYPE 0x000f /* Mask for type field. */
+# ifdef __USE_MISC
+# define MAP_ANONYMOUS MAP_ANON /* Linux name. */
+# endif
#endif
/* Sharing types (must choose one and only one of these). */