From: Carlos O'Donell Date: Thu, 27 Apr 2006 15:49:46 +0000 (+0000) Subject: 2006-04-27 Carlos O'Donell X-Git-Tag: glibc-2.16-ports-before-merge~874 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1593583d58a3bbc5ab0a19bfe8319f9307113da1;p=thirdparty%2Fglibc.git 2006-04-27 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and define vmsplice. --- diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 89e45ca6fff..b927ecfe35e 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 867b0938da1..e2bf5267116 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;