ffmpeg | branch: master | Michael Niedermayer <michae...@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 <michae...@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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog