diff options
Diffstat (limited to 'sljit/sljitUtils.c')
-rw-r--r-- | sljit/sljitUtils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sljit/sljitUtils.c b/sljit/sljitUtils.c index 5c2a838..857492a 100644 --- a/sljit/sljitUtils.c +++ b/sljit/sljitUtils.c @@ -154,7 +154,13 @@ SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_release_lock(void) #include "windows.h" #else /* Provides mmap function. */ +#include <sys/types.h> #include <sys/mman.h> +#ifndef MAP_ANON +#ifdef MAP_ANONYMOUS +#define MAP_ANON MAP_ANONYMOUS +#endif +#endif /* For detecting the page size. */ #include <unistd.h> |