summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fseeko.c2
-rw-r--r--libc/stdio/ftello.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index 74a9e3c3a..f63ebad4e 100644
--- a/libc/stdio/fseeko.c
+++ b/libc/stdio/fseeko.c
@@ -16,7 +16,9 @@
# define OFFSET_TYPE long int
#endif
+#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(fseeko64)
+#endif
libc_hidden_proto(fseek)
int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index 2b9da8a6b..4445471a4 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -7,7 +7,9 @@
#include "_stdio.h"
+#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(ftello64)
+#endif
libc_hidden_proto(ftell)
#ifndef __DO_LARGEFILE