* ath.c: Include sys/time.h if sys/select.h is not available.

* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h.
This commit is contained in:
Werner Koch 2002-09-20 10:44:22 +00:00
parent 1dda423fa5
commit 7937658bb7
4 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-09-20 Werner Koch <wk@gnupg.org>
* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h.
2002-09-04 Marcus Brinkmann <marcus@g10code.de>
* autogen.sh (autoconf_vers): Bump up to 2.53 to get the @&t@

View File

@ -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.

View File

@ -1,3 +1,7 @@
2002-09-20 Werner Koch <wk@gnupg.org>
* ath.c: Include sys/time.h if sys/select.h is not available.
2002-09-13 Marcus Brinkmann <marcus@g10code.de>
* keylist.c (keylist_status_handler): Do not call finish_key() here.

View File

@ -23,7 +23,11 @@
#endif
#include <unistd.h>
#include <sys/select.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#else
# include <sys/time.h>
#endif
#include <sys/types.h>
#include <sys/wait.h>