Mercurial > mplayer.hg
changeset 21253:f2ddea0632d4
Disable when HAVE_SYS_MMAN_H is not defined, since it can not be compiled then.
author | reimar |
---|---|
date | Sun, 26 Nov 2006 13:55:55 +0000 |
parents | 09a213e6cf0a |
children | cc1d070fda33 |
files | osdep/mmap_anon.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <sys/mman.h> #include <stdio.h> @@ -62,3 +64,4 @@ return result; } +#endif /* HAVE_SYS_MMAN_H */