diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 08:51:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 08:51:43 +0000 |
commit | 8777ba7e42b342e13d9a39c5d6d331801cfab13b (patch) | |
tree | eb394c8e0edec8883fe0c7194f386ca8e691e686 /tests/libtest/lib509.c | |
parent | a39669198f4b66aca26d5fc2612a6047cf439bb4 (diff) | |
download | curl-8777ba7e42b342e13d9a39c5d6d331801cfab13b.tar.gz |
include sys/select.h to prevent picky compiler warnings when using select()
without proto
Diffstat (limited to 'tests/libtest/lib509.c')
-rw-r--r-- | tests/libtest/lib509.c | 3 |
1 files changed, 3 insertions, 0 deletions
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> |