about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/pread.c
diff options
context:
space:
mode:
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));