summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-25 11:36:45 -0400
committerBrad King <brad.king@kitware.com>2016-08-31 09:05:13 -0400
commitf4f8074bec408ba0cab0f08ce1c48ad312fc0b24 (patch)
tree5f0a8f33e8736a1f47c335af5b97366b890a48d9 /Utilities
parenta63aaaed051a51592f9ddc738febd58a4d99928a (diff)
downloadcmake-f4f8074bec408ba0cab0f08ce1c48ad312fc0b24.tar.gz
libuv: Avoid including macOS CoreServices header globally
We only need the availability macros in `unix/internal.h`. We already include CoreServices where needed in implementation files.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibuv/src/unix/internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Utilities/cmlibuv/src/unix/internal.h b/Utilities/cmlibuv/src/unix/internal.h
index c7b6019ed2..257002657d 100644
--- a/Utilities/cmlibuv/src/unix/internal.h
+++ b/Utilities/cmlibuv/src/unix/internal.h
@@ -51,10 +51,6 @@
# include <poll.h>
#endif /* _AIX */
-#if defined(__APPLE__) && !TARGET_OS_IPHONE
-# include <CoreServices/CoreServices.h>
-#endif
-
#if defined(__ANDROID__)
int uv__pthread_sigmask(int how, const sigset_t* set, sigset_t* oset);
# ifdef pthread_sigmask
@@ -272,6 +268,7 @@ int uv__make_socketpair(int fds[2], int flags);
int uv__make_pipe(int fds[2], int flags);
#if defined(__APPLE__)
+#include <AvailabilityMacros.h>
int uv__fsevents_init(uv_fs_event_t* handle);
int uv__fsevents_close(uv_fs_event_t* handle);