aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-29 12:40:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-29 12:40:36 +0000
commit2cc16d89e6f6eee747d9aff875b683ccc5305c2c (patch)
treeaa96b1a0ceca85218dd7ec66eadd7572310d5ebe
parent42eb74922de42e6e7823124d188f9e3776cf20b6 (diff)
updated mac specific include files
-rw-r--r--config-mac.h4
-rw-r--r--src/config-mac.h6
2 files changed, 9 insertions, 1 deletions
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 <GUSIExtra.h>
+#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);