diff options
author | Werner Koch <[email protected]> | 2002-09-20 10:44:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-09-20 10:44:22 +0000 |
commit | 7937658bb733b062c06cf70489fe637d5bce9896 (patch) | |
tree | ed5170986b89d142ee7e9f2b8cd1a4092154eab2 /gpgme/ath.c | |
parent | 2002-09-13 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-7937658bb733b062c06cf70489fe637d5bce9896.tar.gz gpgme-7937658bb733b062c06cf70489fe637d5bce9896.zip |
* ath.c: Include sys/time.h if sys/select.h is not available.
* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h.
Diffstat (limited to '')
-rw-r--r-- | gpgme/ath.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gpgme/ath.c b/gpgme/ath.c index e685031b..1d8d94be 100644 --- a/gpgme/ath.c +++ b/gpgme/ath.c @@ -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> |