diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dict.c | 2 | ||||
-rw-r--r-- | lib/select.c | 2 | ||||
-rw-r--r-- | lib/transfer.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/dict.c b/lib/dict.c index 208a2336f..e42165a9e 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -46,6 +46,8 @@ #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#elif defined(HAVE_UNISTD_H) +#include <unistd.h> #endif #include "urldata.h" diff --git a/lib/select.c b/lib/select.c index 1ab023934..857e7f698 100644 --- a/lib/select.c +++ b/lib/select.c @@ -24,6 +24,8 @@ #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#elif defined(HAVE_UNISTD_H) +#include <unistd.h> #endif #if !defined(HAVE_SELECT) && !defined(HAVE_POLL_FINE) diff --git a/lib/transfer.c b/lib/transfer.c index 72168336a..27c984f8f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -48,6 +48,8 @@ #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#elif defined(HAVE_UNISTD_H) +#include <unistd.h> #endif #ifndef HAVE_SOCKET |