From: Dennis Williamson Date: Mon, 5 Dec 2022 14:30:35 +0000 (+0000) Subject: build: fix missing inclusion of poll.h on macOS X-Git-Tag: v9.2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02441761c9cc69f72631c14a91f0a648087a9992;p=thirdparty%2Fcoreutils.git 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 --- 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