Commit 2ff2810a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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! ;-)
parent 20d9c1b3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
+6 −0
Original line number Diff line number Diff line
@@ -21,9 +21,15 @@
 * $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 */