Hi

here a little patch for netbsd system.

Kind regards.
From 9a6a01ed06bbacffe76c8e504cb5c6c243912b2d Mon Sep 17 00:00:00 2001
From: David Carlier <[email protected]>
Date: Wed, 20 Oct 2021 19:00:02 +0100
Subject: [PATCH] BUILD/MINOR: healthcheck: netbsd build fix.

adding missing header for time based structs.
---
 include/haproxy/connection-t.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h
index 0ba8555ff..25fc57b2c 100644
--- a/include/haproxy/connection-t.h
+++ b/include/haproxy/connection-t.h
@@ -24,6 +24,7 @@
 
 #include <stdlib.h>
 #include <sys/socket.h>
+#include <sys/time.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/ip6.h>
-- 
2.33.0

Reply via email to