From 027eeec7b032ae4c85344c67a270b00e3f47ee63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Tue, 29 Jan 2019 20:44:23 -0800
Subject: [PATCH] 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.
---
bootstrap.conf | 1 +
src/tail.c | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
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