1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

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! ;-)
This commit is contained in:
Daniel Stenberg 2002-05-10 14:37:39 +00:00
parent 20d9c1b30d
commit 2ff2810a92
2 changed files with 10 additions and 1 deletions

View File

@ -17,5 +17,8 @@
/* Define if you have the <utime.h> header file */ /* Define if you have the <utime.h> header file */
#undef HAVE_UTIME_H #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 #undef HAVE_SYS_UTIME_H
/* Define if you have the <sys/select.h> header file */
#undef HAVE_SYS_SELECT_H

View File

@ -21,9 +21,15 @@
* $Id$ * $Id$
*****************************************************************************/ *****************************************************************************/
#include "setup.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#include <curl/curl.h> #include <curl/curl.h>
#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */ #define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */