aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/t-lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t-lock.c b/tests/t-lock.c
index 5a21666..fd645eb 100644
--- a/tests/t-lock.c
+++ b/tests/t-lock.c
@@ -29,6 +29,7 @@
#include <unistd.h>
#ifdef _WIN32
# include <windows.h>
+# include <time.h>
#else
# include <pthread.h>
#endif