diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index cebca2197d..fe607de13c 100644 --- a/plugins/elements/gstfdsrc.c +++ b/plugins/elements/gstfdsrc.c @@ -88,6 +88,13 @@ #include "gstfdsrc.h" +#ifdef __BIONIC__ /* Android */ +#undef lseek +#define lseek lseek64 +#undef fstat +#define fstat fstat64 +#endif + static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,