From 02441761c9cc69f72631c14a91f0a648087a9992 Mon Sep 17 00:00:00 2001 From: Dennis Williamson Date: Mon, 5 Dec 2022 14:30:35 +0000 Subject: [PATCH] build: fix missing inclusion of poll.h on macOS * src/tail.c: Following on from commit v9.1-55-g324c188cf also include poll.h for __APPLE__, which was seen to be required on macOS 11.6 --- src/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tail.c b/src/tail.c index 6c7d59faf9..14abf0871a 100644 --- a/src/tail.c +++ b/src/tail.c @@ -55,7 +55,7 @@ # include #endif -#if defined _AIX || defined __sun || HAVE_INOTIFY +#if defined _AIX || defined __sun || defined __APPLE__ || HAVE_INOTIFY # include #endif -- 2.47.2