From 39a801d66d39b5315392b34fbc33cfa8acfe69c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 14 Oct 2019 23:03:10 +0200 Subject: [PATCH] darwin,test: include AvailabilityMacros.h It's necessary for MAC_OS_X_VERSION_10_12 to be defined. Refs: https://github.com/libuv/libuv/issues/2491 PR-URL: https://github.com/libuv/libuv/pull/2516 Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig --- test/test-fs-event.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-fs-event.c b/test/test-fs-event.c index 7725c3af..a6a7a81b 100644 --- a/test/test-fs-event.c +++ b/test/test-fs-event.c @@ -25,6 +25,10 @@ #include #include +#if defined(__APPLE__) && !TARGET_OS_IPHONE +# include +#endif + #ifndef HAVE_KQUEUE # if defined(__APPLE__) || \ defined(__DragonFly__) || \