mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 03:12:08 +00:00
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:
parent
9665a0fdf6
commit
27123a77c1
@ -57,6 +57,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
# if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
# ifdef lseek
|
||||
# undef lseek
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user