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