mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
#endif
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
|
# if HAVE_UNISTD_H
|
||||||
|
# include <unistd.h>
|
||||||
|
# endif
|
||||||
# ifdef lseek
|
# ifdef lseek
|
||||||
# undef lseek
|
# undef lseek
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue