mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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.
This commit is contained in:
1 parent
2e8f885a2a
commit
027eeec7b0
2 files changed
+2
-2
No files matched your search
@@ -221,6 +221,7 @@ gnulib_modules="
|
||||
save-cwd
|
||||
savedir
|
||||
savewd
|
||||
select
|
||||
selinux-at
|
||||
setenv
|
||||
settime
|
||||
|
||||
+1
-2
@@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#ifdef _AIX
|
||||
@@ -55,8 +56,6 @@
|
||||
#if HAVE_INOTIFY
|
||||
# include "hash.h"
|
||||
# include <sys/inotify.h>
|
||||
/* 'select' is used by tail_forever_inotify. */
|
||||
# include <sys/select.h>
|
||||
#endif
|
||||
|
||||
/* Linux can optimize the handling of local files. */
|
||||
|
||||
Reference in new issue
Block a user