aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config-mac.h10
-rw-r--r--src/config-mac.h8
2 files changed, 15 insertions, 3 deletions
diff --git a/config-mac.h b/config-mac.h
index 8915defa6..2328ada13 100644
--- a/config-mac.h
+++ b/config-mac.h
@@ -31,11 +31,15 @@
//#define HAVE_STRICMP 1
#define HAVE_SIGACTION 1
-#define USE_SSLEAY 1
-#define USE_OPENSSL 1
+#ifdef MACOS_SSL_SUPPORT
+# define USE_SSLEAY 1
+# define USE_OPENSSL 1
+#endif
+
#define HAVE_RAND_STATUS 1
#define HAVE_RAND_EGD 1
#define HAVE_FIONBIO 1
-#include "GUSIExtra.h"
+#include <extra/stricmp.h>
+#include <extra/strdup.h>
diff --git a/src/config-mac.h b/src/config-mac.h
index 9e8daf0e4..e43a9a593 100644
--- a/src/config-mac.h
+++ b/src/config-mac.h
@@ -1,3 +1,11 @@
+#define HAVE_UNISTD_H 1
+#define HAVE_FCNTL_H 1
+#define HAVE_UTIME_H 1
+#define HAVE_SYS_UTIME_H 1
+
+#define HAVE_SETVBUF 1
+#define HAVE_UTIME 1
+
#define main(x,y) curl_main(x,y)
/* we provide our own strdup prototype */