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:
parent
f1c3eb4b16
commit
0367a4b8cf
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue