mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Unconditionally #include osdep/shem.h, fixes the warnings on Cygwin:
stream/cache2.c:244: warning: implicit declaration of function `shmem_alloc' stream/cache2.c:265: warning: implicit declaration of function `shmem_free' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27757 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d5f8f8dc74
commit
c8808af5a0
@ -16,6 +16,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "osdep/shmem.h"
|
||||
#include "osdep/timer.h"
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
@ -26,7 +27,6 @@ static DWORD WINAPI ThreadProc(void* s);
|
||||
static void ThreadProc( void *s );
|
||||
#else
|
||||
#include <sys/wait.h>
|
||||
#include "osdep/shmem.h"
|
||||
#endif
|
||||
|
||||
#include "mp_msg.h"
|
||||
|
Loading…
Reference in New Issue
Block a user