commit | fc6ac53dca8391ba9c32bc716fb61267b475ba71 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue Apr 27 10:46:36 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue Apr 27 14:11:26 2021 +0200 |
tree | c26f836686119849da33bf42776b305a7920fb33 | |
parent | 9463f0e2220ec5b7a882b03a0fe7940cadf1cb29 [diff] |
BUG/MAJOR: fix build on musl with cpu_set_t support Move cpu_map structure outside of the global struct to a global variable defined in cpuset.c compilation unit. This allows to reorganize the includes without having to define _GNU_SOURCE everywhere for the support of the cpu_set_t. This fixes the compilation with musl libc, most notably used for the alpine based docker image. This fixes the github issue #1235. No need to backport as this feature is new in the current 2.4-dev.