aboutsummaryrefslogtreecommitdiff
path: root/misc/pwritev64v2.c
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 /misc/pwritev64v2.c
parented95bf5638748068ef05ccbaa0a008b50ebecb42 (diff)
downloadglibc-2263ca7ce8a824f53debcc724bd21cd7099e1161.tar
glibc-2263ca7ce8a824f53debcc724bd21cd7099e1161.tar.gz
glibc-2263ca7ce8a824f53debcc724bd21cd7099e1161.tar.bz2
glibc-2263ca7ce8a824f53debcc724bd21cd7099e1161.zip
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>.
Diffstat (limited to 'misc/pwritev64v2.c')
-rw-r--r--misc/pwritev64v2.c1
1 files changed, 1 insertions, 0 deletions
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. */