Hi here a patch to address freebsd build failure.

Kind regards.
From 97df7fccc4f6a1b5d2b2ae8050ce58f7666f6c27 Mon Sep 17 00:00:00 2001
From: David Carlier <devne...@gmail.com>
Date: Sat, 30 Oct 2021 12:22:21 +0100
Subject: [PATCH] BUILD/MINOR: cpuset freebsd build fix.

adding missing strings.h header.
---
 include/haproxy/cpuset-t.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/haproxy/cpuset-t.h b/include/haproxy/cpuset-t.h
index 0d5b6c804..541fb75cd 100644
--- a/include/haproxy/cpuset-t.h
+++ b/include/haproxy/cpuset-t.h
@@ -9,6 +9,7 @@
 #ifdef __FreeBSD__
 #include <sys/_cpuset.h>
 #include <sys/cpuset.h>
+#include <strings.h>
 #endif
 #endif
 
-- 
2.33.0

Reply via email to