# HG changeset patch # User reimar # Date 1164549355 0 # Node ID f2ddea0632d455245fa5575ba9eab6ac2688cf86 # Parent 09a213e6cf0aac9a174c91166103fa8e136b7afe Disable when HAVE_SYS_MMAN_H is not defined, since it can not be compiled then. diff -r 09a213e6cf0a -r f2ddea0632d4 osdep/mmap_anon.c --- a/osdep/mmap_anon.c Sun Nov 26 13:54:23 2006 +0000 +++ b/osdep/mmap_anon.c Sun Nov 26 13:55:55 2006 +0000 @@ -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 #include @@ -62,3 +64,4 @@ return result; } +#endif /* HAVE_SYS_MMAN_H */