From 1593583d58a3bbc5ab0a19bfe8319f9307113da1 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 27 Apr 2006 15:49:46 +0000 Subject: [PATCH] 2006-04-27 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and define vmsplice. --- ChangeLog.hppa | 5 +++++ sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 89e45ca..b927ecf 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,8 @@ +2006-04-27 Carlos O'Donell + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and + define vmsplice. + 2006-04-21 Carlos O'Donell * sysdeps/hppa/dl-tls.h: New file diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index 867b093..e2bf526 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -23,7 +23,9 @@ #endif #include - +#ifdef __USE_GNU +# include +#endif /* open/fcntl - O_SYNC is only implemented on blocks devices and on files located on an ext2 file system */ @@ -196,6 +198,10 @@ extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to, unsigned int __flags); +/* Splice address range into a pipe. */ +extern int vmsplice (int __fdout, const struct iovec *__iov, size_t __count, + unsigned int __flags); + /* Splice two files together. */ extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags) __THROW; -- 2.7.4