Index: uspace/lib/posix/include/posix/unistd.h
===================================================================
--- uspace/lib/posix/include/posix/unistd.h	(revision 52acfab092a31c43322972aadade508e7b0edf6a)
+++ uspace/lib/posix/include/posix/unistd.h	(revision 77de449e3858b9dbc03718f6d76ce88246f3c450)
@@ -99,4 +99,8 @@
 
 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+// FIXME: this should just be defined in <sys/types.h>, but for some reason
+//        build of coastline binutils on mips32 doesn't see the definition there
+typedef int64_t off64_t;
+
 extern off64_t lseek64(int fildes, off64_t offset, int whence);
 extern int ftruncate64(int fildes, off64_t length);
