summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 03:03:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 03:03:40 +0200
commit2263ca7ce8a824f53debcc724bd21cd7099e1161 (patch)
tree6921b5e19ada87b8f7364b75662925db58f82bd1
parented95bf5638748068ef05ccbaa0a008b50ebecb42 (diff)
downloadglibc-2263ca7ce8a824f53debcc724bd21cd7099e1161.tar.gz
hurd: Fix p{read,write}{,v64}v2.c build
* 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>.
-rw-r--r--ChangeLog9
-rw-r--r--misc/preadv2.c1
-rw-r--r--misc/preadv64v2.c1
-rw-r--r--misc/pwritev2.c1
-rw-r--r--misc/pwritev64v2.c1
-rw-r--r--sysdeps/posix/preadv2.c1
-rw-r--r--sysdeps/posix/preadv64v2.c3
-rw-r--r--sysdeps/posix/pwritev2.c1
-rw-r--r--sysdeps/posix/pwritev64v2.c1
9 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8c12c0a46..0567c67675 100644
--- 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>
diff --git a/misc/preadv2.c b/misc/preadv2.c
index a62dcaa699..fe379401ee 100644
--- a/misc/preadv2.c
+++ b/misc/preadv2.c
@@ -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. */
diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c
index a802c2f1ab..e0f05a506a 100644
--- a/misc/preadv64v2.c
+++ b/misc/preadv64v2.c
@@ -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. */
diff --git a/misc/pwritev2.c b/misc/pwritev2.c
index b9e07272da..ead84471fc 100644
--- a/misc/pwritev2.c
+++ b/misc/pwritev2.c
@@ -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. */
diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c
index 1f874f054c..c72689cc70 100644
--- a/misc/pwritev64v2.c
+++ b/misc/pwritev64v2.c
@@ -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. */
diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c
index b79b7b1bc3..cd96677ade 100644
--- a/sysdeps/posix/preadv2.c
+++ b/sysdeps/posix/preadv2.c
@@ -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>
diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
index 263f9b77c4..649bde4c5a 100644
--- a/sysdeps/posix/preadv64v2.c
+++ b/sysdeps/posix/preadv64v2.c
@@ -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
diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
index d746059d42..601f6b1b10 100644
--- a/sysdeps/posix/pwritev2.c
+++ b/sysdeps/posix/pwritev2.c
@@ -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>
diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
index f340c8a46d..9f05f97b40 100644
--- a/sysdeps/posix/pwritev64v2.c
+++ b/sysdeps/posix/pwritev64v2.c
@@ -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>