From 6e9848451044613796157b4879f44804c27949d6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Sep 2002 10:44:22 +0000 Subject: [PATCH] * ath.c: Include sys/time.h if sys/select.h is not available. * configure.ac (AC_CHECK_HEADERS): Check for sys/select.h. --- trunk/ChangeLog | 4 ++++ trunk/configure.ac | 3 +++ trunk/gpgme/ChangeLog | 4 ++++ trunk/gpgme/ath.c | 6 +++++- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/trunk/ChangeLog b/trunk/ChangeLog index a620aa1..e2b1431 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2002-09-20 Werner Koch + + * configure.ac (AC_CHECK_HEADERS): Check for sys/select.h. + 2002-09-04 Marcus Brinkmann * autogen.sh (autoconf_vers): Bump up to 2.53 to get the @&t@ diff --git a/trunk/configure.ac b/trunk/configure.ac index 62f66c7..831065e 100644 --- a/trunk/configure.ac +++ b/trunk/configure.ac @@ -128,6 +128,9 @@ dnl FIXME: check whether Bonobo is installed dnl dnl Checks for header files. dnl +AC_CHECK_HEADERS(sys/select.h) + + dnl dnl Checks for typedefs and structures. diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 3e90b75..325a064 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2002-09-20 Werner Koch + + * ath.c: Include sys/time.h if sys/select.h is not available. + 2002-09-13 Marcus Brinkmann * keylist.c (keylist_status_handler): Do not call finish_key() here. diff --git a/trunk/gpgme/ath.c b/trunk/gpgme/ath.c index e685031..1d8d94b 100644 --- a/trunk/gpgme/ath.c +++ b/trunk/gpgme/ath.c @@ -23,7 +23,11 @@ #endif #include -#include +#ifdef HAVE_SYS_SELECT_H +# include +#else +# include +#endif #include #include -- 2.26.2