From: David CARLIER Date: Wed, 18 May 2022 14:45:40 +0000 (+0100) Subject: BUILD/MINOR: cpuset fix build for FreeBSD 13.1 X-Git-Tag: v2.6-dev11~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=842e4a6617984e094d9aea565b0b78deab40bcfc;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/cpuset-t.h b/include/haproxy/cpuset-t.h index b770b17912..b619cc1f51 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