From: Daniel Stenberg Date: Fri, 10 May 2002 14:37:39 +0000 (+0000) Subject: AIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though X-Git-Tag: curl-7_9_7~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ff2810a92c7279ff039e423767929d75d3bb751;p=curl AIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though it is a bit ugly work-around to add this here, it is still a working work- around! ;-) --- diff --git a/src/config.h.in b/src/config.h.in index 31825bf65..5658fcdcf 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -17,5 +17,8 @@ /* Define if you have the header file */ #undef HAVE_UTIME_H -/* Define if you have thhe header file */ +/* Define if you have the header file */ #undef HAVE_SYS_UTIME_H + +/* Define if you have the header file */ +#undef HAVE_SYS_SELECT_H diff --git a/src/writeout.c b/src/writeout.c index c0be70b2f..343e96ffc 100644 --- a/src/writeout.c +++ b/src/writeout.c @@ -21,9 +21,15 @@ * $Id$ *****************************************************************************/ +#include "setup.h" + #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif + #include #define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */