diff options
Diffstat (limited to 'hurd/hurd/fd.h')
-rw-r--r-- | hurd/hurd/fd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h index 5d51c11e6a..5a067d4888 100644 --- a/hurd/hurd/fd.h +++ b/hurd/hurd/fd.h @@ -26,7 +26,9 @@ #include <hurd/hurd_types.h> #include <hurd/port.h> #include <sys/socket.h> +#include <sys/select.h> #include <fcntl.h> +#include <bits/types/sigset_t.h> /* Structure representing a file descriptor. */ @@ -252,9 +254,9 @@ extern error_t _hurd_fd_close (struct hurd_fd *fd); If successful, stores the amount actually read or written in *NBYTES. */ extern error_t _hurd_fd_read (struct hurd_fd *fd, - void *buf, size_t *nbytes, loff_t offset); + void *buf, size_t *nbytes, __loff_t offset); extern error_t _hurd_fd_write (struct hurd_fd *fd, - const void *buf, size_t *nbytes, loff_t offset); + const void *buf, size_t *nbytes, __loff_t offset); /* Call *RPC on PORT and/or CTTY; if a call on CTTY returns EBACKGROUND, |