# HG changeset patch # User diego # Date 1223910820 0 # Node ID fb67a8f56bfc3aeae5781616f5953bfc646ac8cc # Parent a593f936d330c86571e76ab697cf3415a88229c3 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' diff -r a593f936d330 -r fb67a8f56bfc stream/cache2.c --- a/stream/cache2.c Mon Oct 13 14:55:01 2008 +0000 +++ b/stream/cache2.c Mon Oct 13 15:13:40 2008 +0000 @@ -16,6 +16,7 @@ #include #include +#include "osdep/shmem.h" #include "osdep/timer.h" #ifdef WIN32 #include @@ -26,7 +27,6 @@ static void ThreadProc( void *s ); #else #include -#include "osdep/shmem.h" #endif #include "mp_msg.h"