changeset 27723:fb67a8f56bfc

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'
author diego
date Mon, 13 Oct 2008 15:13:40 +0000
parents a593f936d330
children adccbc495cb2
files stream/cache2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <sys/types.h>
 #include <unistd.h>
 
+#include "osdep/shmem.h"
 #include "osdep/timer.h"
 #ifdef WIN32
 #include <windows.h>
@@ -26,7 +27,6 @@
 static void ThreadProc( void *s );
 #else
 #include <sys/wait.h>
-#include "osdep/shmem.h"
 #endif
 
 #include "mp_msg.h"