changeset 28077:75925b6d0d51

Add missing unistd.h #include, fixes the warning: libvo/vo_macosx.m:177: warning: implicit declaration of function 'ftruncate'
author diego
date Mon, 08 Dec 2008 00:12:53 +0000
parents dcfe2ea48fc1
children 6532e61bb8ae
files libvo/vo_macosx.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Mon Dec 08 00:11:03 2008 +0000
+++ b/libvo/vo_macosx.m	Mon Dec 08 00:12:53 2008 +0000
@@ -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)