From f4f8074bec408ba0cab0f08ce1c48ad312fc0b24 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 25 Aug 2016 11:36:45 -0400 Subject: [PATCH] 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. --- Utilities/cmlibuv/src/unix/internal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Utilities/cmlibuv/src/unix/internal.h b/Utilities/cmlibuv/src/unix/internal.h index c7b6019ed..257002657 100644 --- a/Utilities/cmlibuv/src/unix/internal.h +++ b/Utilities/cmlibuv/src/unix/internal.h @@ -51,10 +51,6 @@ # include #endif /* _AIX */ -#if defined(__APPLE__) && !TARGET_OS_IPHONE -# include -#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 int uv__fsevents_init(uv_fs_event_t* handle); int uv__fsevents_close(uv_fs_event_t* handle);