From 842e4a6617984e094d9aea565b0b78deab40bcfc Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Wed, 18 May 2022 15:45:40 +0100 Subject: [PATCH] BUILD/MINOR: cpuset fix build for FreeBSD 13.1 the cpuset api changes done fir the future 14 release had been backported to the 13.1 release so changing the cpuset api of choice condition change accordingly. --- include/haproxy/cpuset-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/cpuset-t.h b/include/haproxy/cpuset-t.h index b770b1791..b619cc1f5 100644 --- a/include/haproxy/cpuset-t.h +++ b/include/haproxy/cpuset-t.h @@ -26,7 +26,7 @@ # define CPUSET_REPR cpuset_t -# if defined(__FreeBSD__) && __FreeBSD_version >= 1400046 +# if defined(__FreeBSD__) && __FreeBSD_version >= 1301000 # define CPUSET_USE_CPUSET # else # define CPUSET_USE_FREEBSD_CPUSET -- 2.47.3