diff options
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib503.c | 3 | ||||
-rw-r--r-- | tests/libtest/lib504.c | 3 | ||||
-rw-r--r-- | tests/libtest/lib507.c | 7 | ||||
-rw-r--r-- | tests/libtest/lib509.c | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index f74ad3f38..2e4f74232 100644 --- a/tests/libtest/lib503.c +++ b/tests/libtest/lib503.c @@ -5,6 +5,9 @@ #endif #include <sys/time.h> #include <sys/types.h> +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif /* * Source code in here hugely as reported in bug report 651460 by diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index 7133fc6df..269c1a231 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -5,6 +5,9 @@ #endif #include <sys/time.h> #include <sys/types.h> +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif /* * Source code in here hugely as reported in bug report 651464 by diff --git a/tests/libtest/lib507.c b/tests/libtest/lib507.c index f45169496..89591f483 100644 --- a/tests/libtest/lib507.c +++ b/tests/libtest/lib507.c @@ -1,5 +1,12 @@ #include "test.h" +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif + int test(char *URL) { CURL* curls; diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index d1f32e7c6..84c4ee5de 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -7,6 +7,9 @@ #endif #include <sys/time.h> #include <sys/types.h> +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif #include <openssl/opensslv.h> #include <openssl/x509v3.h> |