[MPlayer-cvslog] r28111 - trunk/libvo/vo_macosx.m

diego subversion at mplayerhq.hu
Mon Dec 8 01:12:53 CET 2008


Author: diego
Date: Mon Dec  8 01:12:53 2008
New Revision: 28111

Log:
Add missing unistd.h #include, fixes the warning:
libvo/vo_macosx.m:177: warning: implicit declaration of function 'ftruncate'


Modified:
   trunk/libvo/vo_macosx.m

Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m	(original)
+++ trunk/libvo/vo_macosx.m	Mon Dec  8 01:12:53 2008
@@ -10,6 +10,7 @@
 #include <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/mman.h>
+#include <unistd.h>
 #include <CoreServices/CoreServices.h>
 //special workaround for Apple bug #6267445
 //(OSServices Power API disabled in OSServices.h for 64bit systems)



More information about the MPlayer-cvslog mailing list