[MPlayer-cvslog] r27757 - trunk/stream/cache2.c

diego subversion at mplayerhq.hu
Mon Oct 13 17:13:40 CEST 2008


Author: diego
Date: Mon Oct 13 17:13:40 2008
New Revision: 27757

Log:
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'


Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	(original)
+++ trunk/stream/cache2.c	Mon Oct 13 17:13:40 2008
@@ -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"



More information about the MPlayer-cvslog mailing list