aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/wordsize-64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-03-03 13:53:19 +0000
committerUlrich Drepper <drepper@redhat.com>2009-03-03 13:53:19 +0000
commit99eb932f75c941f08b7cb66890b7d406bf37ba9b (patch)
tree0b2d4c3865b8e49225ac5e140983b2e3f5188871 /sysdeps/unix/sysv/linux/wordsize-64
parente00c5ece4296520043620237e48e8e197902af11 (diff)
downloadglibc-99eb932f75c941f08b7cb66890b7d406bf37ba9b.zip
glibc-99eb932f75c941f08b7cb66890b7d406bf37ba9b.tar.gz
glibc-99eb932f75c941f08b7cb66890b7d406bf37ba9b.tar.bz2
* 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/wordsize-64')
-rw-r--r--sysdeps/unix/sysv/linux/wordsize-64/fallocate.c3
1 files changed, 2 insertions, 1 deletions
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 <errno.h>
#include <fcntl.h>
#include <sysdep.h>
@@ -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)