diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 03:03:40 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 03:03:40 +0200 |
commit | 2263ca7ce8a824f53debcc724bd21cd7099e1161 (patch) | |
tree | 6921b5e19ada87b8f7364b75662925db58f82bd1 /sysdeps/posix/preadv64v2.c | |
parent | ed95bf5638748068ef05ccbaa0a008b50ebecb42 (diff) | |
download | glibc-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>.
Diffstat (limited to 'sysdeps/posix/preadv64v2.c')
-rw-r--r-- | sysdeps/posix/preadv64v2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |