From da0db0ab5640256bc4217abcfc6a6e9285c27bfc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 6 Jan 2002 09:13:00 +0000 Subject: Support tmpfile64 (just a weak for tmpfile) -Erik --- libc/stdio/tmpfile.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/stdio/tmpfile.c b/libc/stdio/tmpfile.c index 8c11d2ff7..7669e46db 100644 --- a/libc/stdio/tmpfile.c +++ b/libc/stdio/tmpfile.c @@ -16,6 +16,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include @@ -48,4 +49,6 @@ FILE * tmpfile (void) return f; } - +#ifdef __UCLIBC_HAVE_LFS__ +weak_alias(tmpfile, tmpfile64); +#endif -- cgit v1.2.3