about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/pread.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-20 21:19:03 +0000
committerRoland McGrath <roland@gnu.org>1999-07-20 21:19:03 +0000
commitc768719df4c8756d555d1822e84b4c0c1fce28ee (patch)
tree9581ed2681af68ebb0800110f0a84a9cad9ba362 /sysdeps/mach/hurd/pread.c
parent180c9ab7e35dfd7f3fc730594431999bd6befde3 (diff)
downloadglibc-c768719df4c8756d555d1822e84b4c0c1fce28ee.tar.gz
glibc-c768719df4c8756d555d1822e84b4c0c1fce28ee.tar.xz
glibc-c768719df4c8756d555d1822e84b4c0c1fce28ee.zip
* sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
	* sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
Diffstat (limited to 'sysdeps/mach/hurd/pread.c')
-rw-r--r--sysdeps/mach/hurd/pread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/pread.c b/sysdeps/mach/hurd/pread.c
index 6deb969506..6c82846be6 100644
--- a/sysdeps/mach/hurd/pread.c
+++ b/sysdeps/mach/hurd/pread.c
@@ -20,9 +20,10 @@
 
 #include <errno.h>
 #include <unistd.h>
+#include <hurd/fd.h>
 
 ssize_t
-__pread (int fd, void *buf, size_t nbyte, off_t offset)
+__pread (int fd, void *buf, size_t nbytes, off_t offset)
 {
   error_t err = HURD_FD_USE (fd, _hurd_fd_read (descriptor,
 						buf, &nbytes, offset));