hurd: Fix p{read,write}{,v64}v2.c build
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 01:03:40 +0000 (03:03 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 01:03:40 +0000 (03:03 +0200)
* misc/preadv2.c: Include <errno.h>.
* misc/preadv64v2.c: Include <errno.h>.
* misc/pwritev2.c: Include <errno.h>.
* misc/pwritev64v2.c: Include <errno.h>.
* sysdeps/posix/preadv2.c: Include <errno.h>.
* sysdeps/posix/preadv64v2.c: Include <errno.h>.
Fix <unistd.h> inclusion.
* sysdeps/posix/pwritev2.c: Include <errno.h>.
* sysdeps/posix/pwritev64v2.c: Include <errno.h>.

ChangeLog
misc/preadv2.c
misc/preadv64v2.c
misc/pwritev2.c
misc/pwritev64v2.c
sysdeps/posix/preadv2.c
sysdeps/posix/preadv64v2.c
sysdeps/posix/pwritev2.c
sysdeps/posix/pwritev64v2.c

index f8c12c0..0567c67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,15 @@
        * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
        * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
        * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
+       * misc/preadv2.c: Include <errno.h>.
+       * misc/preadv64v2.c: Include <errno.h>.
+       * misc/pwritev2.c: Include <errno.h>.
+       * misc/pwritev64v2.c: Include <errno.h>.
+       * sysdeps/posix/preadv2.c: Include <errno.h>.
+       * sysdeps/posix/preadv64v2.c: Include <errno.h>.
+       Fix <unistd.h> inclusion.
+       * sysdeps/posix/pwritev2.c: Include <errno.h>.
+       * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
 
 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
 
index a62dcaa..fe37940 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <sys/uio.h>
 
 /* Same as preadv but with an additional flags argument.  */
index a802c2f..e0f05a5 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <sys/uio.h>
 
 /* Same as preadv64 but with an addional flag argument.  */
index b9e0727..ead8447 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <sys/uio.h>
 
 /* Same as pwritev but with an additional flags argument.  */
index 1f874f0..c72689c 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <sys/uio.h>
 
 /* Same as preadv64 but with an addional flag argument.  */
index b79b7b1..cd96677 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <unistd.h>
 #include <sys/uio.h>
 
index 263f9b7..649bde4 100644 (file)
@@ -16,7 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <unistd.>
+#include <errno.h>
+#include <unistd.h>
 #include <sys/uio.h>
 
 ssize_t
index d746059..601f6b1 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <unistd.h>
 #include <sys/uio.h>
 
index f340c8a..9f05f97 100644 (file)
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <errno.h>
 #include <unistd.h>
 #include <sys/uio.h>