* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h.
+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@
dnl
dnl Checks for header files.
dnl
+AC_CHECK_HEADERS(sys/select.h)
+
+
dnl
dnl Checks for typedefs and structures.
+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.
#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>