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>
pull/89/head
Michael Niedermayer 10 years ago
parent 9665a0fdf6
commit 27123a77c1
  1. 3
      libavformat/os_support.h

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

Loading…
Cancel
Save