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.
This commit is contained in:
Brad King 2016-08-25 11:36:45 -04:00
parent a63aaaed05
commit f4f8074bec

View File

@ -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);