Commit 27123a77 authored by Michael Niedermayer's avatar 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9665a0fd
......@@ -57,6 +57,9 @@
#endif
#ifdef __ANDROID__
# if HAVE_UNISTD_H
# include <unistd.h>
# endif
# ifdef lseek
# undef lseek
# endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment