diff options
Diffstat (limited to 'osdep/mmap_anon.c')
-rw-r--r-- | osdep/mmap_anon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/mmap_anon.c b/osdep/mmap_anon.c index 484615311a..8bd7f308c7 100644 --- a/osdep/mmap_anon.c +++ b/osdep/mmap_anon.c @@ -2,6 +2,8 @@ * \file mmap_anon.c * \brief Provide a compatible anonymous space mapping function */ +#include "config.h" +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #include <stdio.h> @@ -62,3 +64,4 @@ void *mmap_anon(void *addr, size_t len, int prot, int flags, off_t offset) return result; } +#endif /* HAVE_SYS_MMAN_H */ |