]> granicus.if.org Git - curl/commitdiff
AIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2002 14:37:39 +0000 (14:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2002 14:37:39 +0000 (14:37 +0000)
it is a bit ugly work-around to add this here, it is still a working work-
around! ;-)

src/config.h.in
src/writeout.c

index 31825bf65f078caf5e2f559ed26a649e350c8444..5658fcdcf5d79607707a8d8ac8bf1e1e6453e164 100644 (file)
@@ -17,5 +17,8 @@
 /* Define if you have the <utime.h> header file */
 #undef HAVE_UTIME_H
 
-/* Define if you have thhe <sys/utime.h> header file */
+/* Define if you have the <sys/utime.h> header file */
 #undef HAVE_SYS_UTIME_H
+
+/* Define if you have the <sys/select.h> header file */
+#undef HAVE_SYS_SELECT_H
index c0be70b2f79b9e920d6c1b101fe33d7cd7b078a4..343e96ffcb0b82629ac4565808346b8880f9fefa 100644 (file)
  * $Id$
  *****************************************************************************/
 
+#include "setup.h"
+
 #include <stdio.h>
 #include <string.h>
 
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #include <curl/curl.h>
 
 #define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */