1
mirror of https://github.com/mpv-player/mpv synced 2024-10-10 13:27:03 +02:00

#include osdep/mman.h if sys/mman.h is not available.

patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26143 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-03-03 09:47:01 +00:00
parent 2e16b2826a
commit 5e6231b340
4 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#include <unistd.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#else
#include "osdep/mmap.h"
#endif
#include <errno.h>
#include <fcntl.h>

View File

@ -26,6 +26,8 @@
#include <fcntl.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#else
#include "osdep/mmap.h"
#endif
#include <sys/types.h>
#include <stdio.h>

View File

@ -51,6 +51,8 @@
#include <fcntl.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#else
#include "osdep/mmap.h"
#endif
#include "wine/windef.h"
#include "wine/winbase.h"

View File

@ -70,6 +70,8 @@ for DLL to know too much about its environment.
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#else
#include "osdep/mmap.h"
#endif
#include "osdep/mmap_anon.h"