Skip to content

Commit 5b92877

Browse files
committed
include: Fix windows build
I think I'm missing an include on Windows for `struct timespec`
1 parent 7b367a6 commit 5b92877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/v.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ static inline size_t grow_x_2(size_t capacity, size_t elem_size) {
163163
// --- decl v_sync (Sync primitives (mutex, rwlock, condition variables), pthreads & win32)
164164
#if defined(WINDOWS)
165165
#include <Windows.h>
166+
#include <time.h>
166167
#else
167168
#include <pthread.h>
168169
#endif

0 commit comments

Comments
 (0)