aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-12-08 08:47:42 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-22 10:15:26 +0200
commit6af6e295529bb2ba9941e7f3d7938799a668e5f6 (patch)
tree03ebe1a3ac79fb87b04b1f7a68a25fb39cf0b2c5 /ar-lib
parent3af17aef2b0391a9b58f03f7e37e14aed4f9cdfd (diff)
downloadnewlib-6af6e295529bb2ba9941e7f3d7938799a668e5f6.zip
newlib-6af6e295529bb2ba9941e7f3d7938799a668e5f6.tar.gz
newlib-6af6e295529bb2ba9941e7f3d7938799a668e5f6.tar.bz2
sys/_bitset.h: Fix fall-out from commit 5e04571cf3c
The changes to the bitset macros allowed sched.h to be included into userland programs without name space pollution due to BIT_* and BITSET_* macros. The definition of a "struct bitset" had been overlooked. This name space pollution caused the build of port print/miktex to fail. This commit makes the definition of struct bitset depend on the same condition as the visibility of the BIT_* and BITSET_* macros, i.e. needs _KERNEL or _WANT_FREEBSD_BITSET to be defined before including sys/_bitset.h. It has been tested with "make universe" since a prior attempt to fix the issue broke the PowerPC64 kernel build. This commit shall be MFCed together with commit 5e04571cf3c. Reported by: arrowd MFC after: 1 month
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions