1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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.
This commit is contained in:
Werner Koch 2014-12-01 15:55:28 +01:00
parent f1c3eb4b16
commit 0367a4b8cf
2 changed files with 4 additions and 1 deletions

View file

@ -34,6 +34,9 @@
#include <arpa/inet.h>
#include <fcntl.h>
#include <time.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
#define PGM "watchgnupg"