Mercurial > mplayer.hg
changeset 18540:fb07cde79487
only include sys/mman.h if HAVE_SYS_MMAN_H is defined
author | ivo |
---|---|
date | Thu, 18 May 2006 09:21:45 +0000 |
parents | 625b642df80d |
children | 0df97a9423d0 |
files | libvo/vo_s3fb.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_s3fb.c Wed May 17 22:02:26 2006 +0000 +++ b/libvo/vo_s3fb.c Thu May 18 09:21:45 2006 +0000 @@ -15,11 +15,13 @@ #include <unistd.h> #include <sys/ioctl.h> #include <fcntl.h> -#include <sys/mman.h> #include <linux/fb.h> #include <asm/io.h> #include "config.h" +#ifdef HAVE_SYS_MMAN_H +#include <sys/mman.h> +#endif #include "fastmemcpy.h" #include "video_out.h" #include "video_out_internal.h"