diff options
Diffstat (limited to 'lib/replace/poll.c')
-rw-r--r-- | lib/replace/poll.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/poll.c b/lib/replace/poll.c index e41548dd39f..c855177be70 100644 --- a/lib/replace/poll.c +++ b/lib/replace/poll.c @@ -30,6 +30,12 @@ #include "replace.h" #include "system/select.h" +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef HAVE_SYS_IOCTL_H +#include <sys/ioctl.h> +#endif int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout) |