[git] GnuPG - branch, master, updated. gnupg-2.1.0-56-g0367a4b
by Werner Koch
cvs at cvs.gnupg.org
Mon Dec 1 15:55:21 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via 0367a4b8cfbf1f197e093ca2b83b27e0a409c3c7 (commit)
from f1c3eb4b16ca43b5d3712a3b54c22d17ce85af47 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0367a4b8cfbf1f197e093ca2b83b27e0a409c3c7
Author: Werner Koch <wk at gnupg.org>
Date: Mon Dec 1 15:55:28 2014 +0100
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.
diff --git a/configure.ac b/configure.ac
index 95711cb..4ea0bbe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1190,7 +1190,7 @@ fi
AC_MSG_NOTICE([checking for header files])
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
- pty.h utmp.h pwd.h inttypes.h signal.h])
+ pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h])
AC_HEADER_TIME
diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c
index 4f4d54d..8ad2a13 100644
--- a/tools/watchgnupg.c
+++ b/tools/watchgnupg.c
@@ -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"
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
tools/watchgnupg.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list