From 169717fdc7d2fae0240b05aee13d8a1af1690c2c Mon Sep 17 00:00:00 2001 From: Valtteri Koskivuori Date: Tue, 28 Nov 2023 21:08:08 +0200 Subject: [PATCH] Fix missing timeval warning in timer.h --- src/utils/timer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/timer.h b/src/utils/timer.h index 24b4b237..1e660140 100644 --- a/src/utils/timer.h +++ b/src/utils/timer.h @@ -14,6 +14,8 @@ typedef struct timeval { long tv_sec; long tv_usec; } TIMEVAL, *PTIMEVAL, *LPTIMEVAL; +#else +#include #endif void timer_start(struct timeval *timer);