From 2ff2810a92c7279ff039e423767929d75d3bb751 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 10 May 2002 14:37:39 +0000 Subject: 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! ;-) --- src/config.h.in | 5 ++++- src/writeout.c | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3