From 99eb932f75c941f08b7cb66890b7d406bf37ba9b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 3 Mar 2009 13:53:19 +0000 Subject: * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. --- sysdeps/unix/sysv/linux/wordsize-64/fallocate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/wordsize-64') diff --git a/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c b/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c index c89e318..0eabab9 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c @@ -16,6 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include #include #include @@ -26,4 +27,4 @@ fallocate (int fd, int mode, __off_t offset, __off_t len) { return INLINE_SYSCALL (fallocate, 4, fd, mode, offset, len); } -strong_alias (posix_fallocate, posix_fallocate64) +strong_alias (fallocate, fallocate64) -- cgit v1.1