Mercurial > mplayer.hg
changeset 26105:c99d53b76ee5
Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
author | diego |
---|---|
date | Sat, 01 Mar 2008 10:31:51 +0000 |
parents | e5bce92eb572 |
children | d5641be6a896 |
files | libaf/af_export.c libvo/vo_bl.c loader/ext.c loader/ldt_keeper.c loader/module.c loader/win32.c |
diffstat | 6 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_export.c Sat Mar 01 10:16:43 2008 +0000 +++ b/libaf/af_export.c Sat Mar 01 10:31:51 2008 +0000 @@ -15,7 +15,9 @@ #include "config.h" #include <sys/types.h> +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h>
--- a/libvo/vo_bl.c Sat Mar 01 10:16:43 2008 +0000 +++ b/libvo/vo_bl.c Sat Mar 01 10:31:51 2008 +0000 @@ -27,7 +27,9 @@ #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <sys/ioctl.h> #include "config.h"
--- a/loader/ext.c Sat Mar 01 10:16:43 2008 +0000 +++ b/loader/ext.c Sat Mar 01 10:31:51 2008 +0000 @@ -18,7 +18,9 @@ #include <malloc.h> #endif #include <unistd.h> +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <errno.h> #include <fcntl.h> #include <string.h>
--- a/loader/ldt_keeper.c Sat Mar 01 10:16:43 2008 +0000 +++ b/loader/ldt_keeper.c Sat Mar 01 10:31:51 2008 +0000 @@ -17,13 +17,16 @@ * http://svn.mplayerhq.hu/mplayer/trunk/ */ +#include "config.h" #include "ldt_keeper.h" #include <string.h> #include <stdlib.h> #include <errno.h> #include <fcntl.h> +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <sys/types.h> #include <stdio.h> #include <unistd.h>