newlib-cygwin/newlib/libc/sys
Stefan Eßer 6af6e29552 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
2022-06-22 10:15:26 +02:00
..
a29khif newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
amdgcn newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
arm newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
d10v newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
epiphany newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8300hms newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8500hms newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m88kbug newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mmixware newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
netware newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
or1k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
rdos newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
rtems sys/_bitset.h: Fix fall-out from commit 5e04571cf3c 2022-06-22 10:15:26 +02:00
sh newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysmec newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnec810 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnecv850 Avoid using common symbols in v850 libgloss 2022-03-19 20:01:33 -04:00
sysvi386 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysvnecv70 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tic80 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tirtos newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
w65 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
z8ksim newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc newlib: drop phoenix support 2022-03-28 23:17:06 -04:00