diff options
Diffstat (limited to '')
-rw-r--r-- | tests/gpg/t-cancel.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/gpg/t-cancel.c b/tests/gpg/t-cancel.c index 16a062a7..b5550d8a 100644 --- a/tests/gpg/t-cancel.c +++ b/tests/gpg/t-cancel.c @@ -32,9 +32,15 @@ #include <limits.h> #include <ctype.h> #include <errno.h> +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif +#include <sys/types.h> #include <unistd.h> #include <pthread.h> -#include <sys/select.h> +#ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +#endif #include <gpgme.h> |