From: Pádraig Brady Date: Wed, 30 Jan 2019 04:44:23 +0000 (-0800) Subject: build: ensure sys/select.h is included X-Git-Tag: v8.31~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027eeec7b032ae4c85344c67a270b00e3f47ee63;p=thirdparty%2Fcoreutils.git build: ensure sys/select.h is included bootstrap.conf: Explicitly depend on select, rather than transitively. * src/tail.c: Unconditionally include select.h as we use select() outside inotify contexts now. --- diff --git a/bootstrap.conf b/bootstrap.conf index 02e70b379c..fb36918428 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -221,6 +221,7 @@ gnulib_modules=" save-cwd savedir savewd + select selinux-at setenv settime diff --git a/src/tail.c b/src/tail.c index 8fab0499dc..fdbec07ad7 100644 --- a/src/tail.c +++ b/src/tail.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #ifdef _AIX @@ -55,8 +56,6 @@ #if HAVE_INOTIFY # include "hash.h" # include -/* 'select' is used by tail_forever_inotify. */ -# include #endif /* Linux can optimize the handling of local files. */