diff options
Diffstat (limited to 'tests/t-poll.c')
-rw-r--r-- | tests/t-poll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/t-poll.c b/tests/t-poll.c index 811f895..a26cbfa 100644 --- a/tests/t-poll.c +++ b/tests/t-poll.c @@ -34,7 +34,9 @@ # include <windows.h> # include <time.h> #else -# include <pthread.h> +# ifdef USE_POSIX_THREADS +# include <pthread.h> +# endif #endif #define PGM "t-lock" |