From 3a0c9981300c446ac08216c6b6dd39a76aa2bf4c Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 21 Oct 2021 10:57:02 +0200 Subject: [PATCH] BUILD: fix compilation on NetBSD Use include file to fix compilation error with timeval in some files. This is as reported as 'man 7 system_data_types'. The build error is reported on NetBSD 9.2. This should be backported up to 2.2. (cherry picked from commit 28c5b3c0bc40f96579845f13a9fafa6f63eb10c0) [wt: only applied to check-t.h] Signed-off-by: Willy Tarreau (cherry picked from commit 08fc157c389572ae49a1c80d85df242074e4d2bb) Signed-off-by: Christopher Faulet --- include/haproxy/check-t.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/haproxy/check-t.h b/include/haproxy/check-t.h index b78a9f9..6b06c4a 100644 --- a/include/haproxy/check-t.h +++ b/include/haproxy/check-t.h @@ -15,6 +15,7 @@ #ifndef _HAPROXY_CHECKS_T_H #define _HAPROXY_CHECKS_T_H +#include #include #include #include -- 1.7.10.4