[FFmpeg-cvslog] avformat/os_support: include unistd.h before defining lseek to lseek64 on android
Michael Niedermayer
git at videolan.org
Fri Oct 10 02:38:49 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 10 02:30:39 2014 +0200| [27123a77c111eed272a11791354831961bc6507c] | committer: Michael Niedermayer
avformat/os_support: include unistd.h before defining lseek to lseek64 on android
fixes build failure
Found-by: James Almer
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27123a77c111eed272a11791354831961bc6507c
---
libavformat/os_support.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 0b9fd49..bc72e96 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -57,6 +57,9 @@
#endif
#ifdef __ANDROID__
+# if HAVE_UNISTD_H
+# include <unistd.h>
+# endif
# ifdef lseek
# undef lseek
# endif
More information about the ffmpeg-cvslog
mailing list