Changeset View
Changeset View
Standalone View
Standalone View
src/ath.c
Context not available. | |||||
#ifdef HAVE_UNISTD_H | #ifdef HAVE_UNISTD_H | ||||
# include <unistd.h> | # include <unistd.h> | ||||
#endif | #endif | ||||
#ifdef HAVE_SYS_SELECT_H | #ifdef HAVE_POLL_H | ||||
# include <sys/select.h> | # include <poll.h> | ||||
#else | #else | ||||
# ifdef HAVE_SYS_TIME_H | # ifdef HAVE_SYS_SELECT_H | ||||
# include <sys/time.h> | # include <sys/select.h> | ||||
# else | |||||
# ifdef HAVE_SYS_TIME_H | |||||
# include <sys/time.h> | |||||
# endif | |||||
# endif | # endif | ||||
#endif | #endif | ||||
#ifdef HAVE_SYS_TYPES_H | #ifdef HAVE_SYS_TYPES_H | ||||
Context not available. | |||||
} | } | ||||
#if !defined(HAVE_POLL_H) | |||||
gpgme_ssize_t | gpgme_ssize_t | ||||
ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset, | ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset, | ||||
struct timeval *timeout) | struct timeval *timeout) | ||||
Context not available. | |||||
return select (nfd, rset, wset, eset, timeout); | return select (nfd, rset, wset, eset, timeout); | ||||
#endif | #endif | ||||
} | } | ||||
#endif | |||||
gpgme_ssize_t | gpgme_ssize_t | ||||
ath_waitpid (pid_t pid, int *status, int options) | ath_waitpid (pid_t pid, int *status, int options) | ||||
Context not available. |