diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 3ad55c388..089449bac 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1887,6 +1887,8 @@ struct Library *SocketBase = NULL; #endif #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#elif defined(HAVE_UNISTD_H) +#include <unistd.h> #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> @@ -1950,6 +1952,8 @@ struct Library *SocketBase = NULL; #endif #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> +#elif defined(HAVE_UNISTD_H) +#include <unistd.h> #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> |