Index: uspace/lib/c/generic/io/io.c
===================================================================
--- uspace/lib/c/generic/io/io.c	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
+++ uspace/lib/c/generic/io/io.c	(revision f2460a50f76f92f3a70ead8969f2bffd83b3a7a4)
@@ -793,5 +793,5 @@
 }
 
-int fseek(FILE *stream, off64_t offset, int whence)
+int fseek(FILE *stream, long offset, int whence)
 {
 	int rc;
@@ -831,8 +831,8 @@
 }
 
-off64_t ftell(FILE *stream)
+long ftell(FILE *stream)
 {
 	/* The native position is too large for the C99-ish interface. */
-	if (stream->pos - stream->ungetc_chars > INT64_MAX)
+	if (stream->pos - stream->ungetc_chars > LONG_MAX)
 		return EOF;
 
