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 e41548dd39..95b2f883bf 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 +#include <sys/ioctl.h> +#endif int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout) |