diff --git a/config-mac.h b/config-mac.h index a0b52f489..8915defa6 100644 --- a/config-mac.h +++ b/config-mac.h @@ -36,4 +36,6 @@ #define HAVE_RAND_STATUS 1 #define HAVE_RAND_EGD 1 -#include +#define HAVE_FIONBIO 1 + +#include "GUSIExtra.h" diff --git a/src/config-mac.h b/src/config-mac.h new file mode 100644 index 000000000..949a22f64 --- /dev/null +++ b/src/config-mac.h @@ -0,0 +1,6 @@ +#include "GUSICommandLine.h" + +#define main(x,y) curl_main(x,y) + +/* we provide our own strdup prototype */ +char *strdup(const char *s1);