From 8777ba7e42b342e13d9a39c5d6d331801cfab13b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Feb 2004 08:51:43 +0000 Subject: include sys/select.h to prevent picky compiler warnings when using select() without proto --- tests/libtest/lib507.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/libtest/lib507.c') 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 +#endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif + int test(char *URL) { CURL* curls; -- cgit v1.2.3