mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00: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:
parent
2e16b2826a
commit
5e6231b340
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user