mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 06:40:59 +01:00
BUILD: fix recent build breakage of freebsd caused by kFreeBSD build fix
Supporting kFreebsd previously led to FreeBSD (< 14) build breakage:
In file included from src/cpuset.c:5:
In file included from include/haproxy/cpuset.h:4:
include/haproxy/cpuset-t.h:46:2: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'?
CPUSET_REPR cpuset;
^~~~~~~~~~~
cpuset_t
include/haproxy/cpuset-t.h:21:22: note: expanded from macro 'CPUSET_REPR'
# define CPUSET_REPR cpu_set_t
^
This commit is contained in:
parent
a690b73fba
commit
6709538068
@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
|
#if defined(__linux__) || defined(__DragonFly__) || \
|
||||||
|
(defined(__FreeBSD_kernel__) && defined(__GLIBC__))
|
||||||
|
|
||||||
# define CPUSET_REPR cpu_set_t
|
# define CPUSET_REPR cpu_set_t
|
||||||
# define CPUSET_USE_CPUSET
|
# define CPUSET_USE_CPUSET
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user