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@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-10-10 02:30:39 +02:00
parent 9665a0fdf6
commit 27123a77c1

View File

@ -57,6 +57,9 @@
#endif
#ifdef __ANDROID__
# if HAVE_UNISTD_H
# include <unistd.h>
# endif
# ifdef lseek
# undef lseek
# endif