diff options
-rw-r--r-- | crypto/mem_sec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index 77bf165fbc..ab4d137f63 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -45,6 +45,9 @@ #ifndef PAGE_SIZE # define PAGE_SIZE 4096 #endif +#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) +# define MAP_ANON MAP_ANONYMOUS +#endif #ifdef IMPLEMENTED static size_t secure_mem_used; |