1diff --git a/lib/curl_config.h b/lib/curl_config.h
2index d3d74dc..526bcf7 100644
3--- a/lib/curl_config.h
4+++ b/lib/curl_config.h
5@@ -128,7 +128,10 @@
6 #define HAVE_BORINGSSL 1
7
8 /* Define to 1 if you have the clock_gettime function and monotonic timer. */
9+#ifndef __APPLE__
10+/* CLOCK_MONOTONIC is not defined in mac when building for the host. */
11 #define HAVE_CLOCK_GETTIME_MONOTONIC 1
12+#endif
13
14 /* Define to 1 if you have the closesocket function. */
15 /* #undef HAVE_CLOSESOCKET */
16@@ -442,10 +445,14 @@
17 #define HAVE_MEMORY_H 1
18
19 /* Define to 1 if you have the memrchr function or macro. */
20+#ifndef __APPLE__
21 #define HAVE_MEMRCHR 1
22+#endif
23
24 /* Define to 1 if you have the MSG_NOSIGNAL flag. */
25+#ifndef __APPLE__
26 #define HAVE_MSG_NOSIGNAL 1
27+#endif
28
29 /* Define to 1 if you have the <netdb.h> header file. */
30 #define HAVE_NETDB_H 1
31@@ -858,7 +865,7 @@
32 #define RETSIGTYPE void
33
34 /* Define to the type qualifier of arg 5 for select. */
35-#define SELECT_QUAL_ARG5
36+#define SELECT_QUAL_ARG5
37
38 /* Define to the type of arg 1 for select. */
39 #define SELECT_TYPE_ARG1 int
40@@ -890,18 +897,9 @@
41 /* Define to the function return type for send. */
42 #define SEND_TYPE_RETV int
43
44-/* The size of `long', as computed by sizeof. */
45-#define SIZEOF_LONG 4
46-
47 /* The size of `long long', as computed by sizeof. */
48 /* #undef SIZEOF_LONG_LONG */
49
50-/* The size of `off_t', as computed by sizeof. */
51-#define SIZEOF_OFF_T 8
52-
53-/* The size of `void*', as computed by sizeof. */
54-#define SIZEOF_VOIDP 4
55-
56 /* Define to 1 if you have the ANSI C header files. */
57 #define STDC_HEADERS 1
58