#include <unistd.h>
#endif
+#ifdef __BIONIC__ /* Android */
+#undef lseek
+#define lseek lseek64
+#undef off_t
+#define off_t guint64
+#endif
+
#ifdef HAVE_FSEEKO
#define FSEEK_FILE(file,offset) (fseeko (file, (off_t) offset, SEEK_SET) != 0)
#elif defined (G_OS_UNIX) || defined (G_OS_WIN32)
/**
* gst_sparse_file_new:
*
- * Make a new #GstSparseFile backed by the file represented with @fd.
+ * Make a new #GstSparseFile
*
* Returns: a new #GstSparseFile, gst_sparse_file_free() after usage.
*
* If @available is not %NULL, it will be updated with the amount of
* data already available after the last written byte.
*
- * Returns: The number of bytes written of 0 on error.
+ * Returns: The number of bytes written or 0 on error.
*
* Since: 1.4
*/