From 0367a4b8cfbf1f197e093ca2b83b27e0a409c3c7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 1 Dec 2014 15:55:28 +0100 Subject: tools: Improve watchgnupg portability. * configure.ac (AC_CHECK_HEADERS): Check for sys.select.h * tools/watchgnupg.c: Include it. -- It seems http://www.musl-libc.org/ is quite limited and requires the use sys/select.h instead of unistd.h et al. --- tools/watchgnupg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/watchgnupg.c') diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c index 4f4d54db2..8ad2a13e3 100644 --- a/tools/watchgnupg.c +++ b/tools/watchgnupg.c @@ -34,6 +34,9 @@ #include #include #include +#ifdef HAVE_SYS_SELECT_H +# include +#endif #define PGM "watchgnupg" -- cgit v1.2.3