aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 15:13:40 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 15:13:40 +0000
commitc8808af5a0e19e550a1779cb3725a0dcffe0d65b (patch)
treef1341f33fb372101e3e2f7a7c87819441ce680e4
parentd5f8f8dc748c3422336da200ee0dbf8cfdd2626a (diff)
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
-rw-r--r--stream/cache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index 53749afb5d..aff5a93a6f 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -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"