summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-08 00:12:53 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-08 00:12:53 +0000
commit9bdda2ec4905597008145042f0ee189d48f6f074 (patch)
tree0cb6f95180b6bd3860a8f47ab270e789aef1ec82 /libvo
parent4c7dc59a041f5385988afcaac760ffe441d6f609 (diff)
downloadmpv-9bdda2ec4905597008145042f0ee189d48f6f074.tar.bz2
mpv-9bdda2ec4905597008145042f0ee189d48f6f074.tar.xz
Add missing unistd.h #include, fixes the warning:
libvo/vo_macosx.m:177: warning: implicit declaration of function 'ftruncate' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28111 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 0eabb68e6e..fc58d52ef9 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -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)