newlib-cygwin/newlib/libc
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
..
argz newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ctype newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
errno newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
iconv iconv: Fix EL/IX level 2 handling 2022-03-21 11:32:59 +01:00
include Use global stdio streams for all configurations 2022-06-10 20:13:52 +02:00
locale newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
machine Remove _global_impure_ptr indirection 2022-05-04 17:31:04 +02:00
misc Remove __sinit_locks / __sinit_recursive_mutex 2022-05-13 12:31:56 +02:00
posix Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
reent Use global stdio streams for all configurations 2022-06-10 20:13:52 +02:00
search newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
signal newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ssp newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
stdio Use global stdio streams for all configurations 2022-06-10 20:13:52 +02:00
stdio64 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
stdlib Use global atexit data for all configurations 2022-05-18 07:45:09 +02:00
string newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sys sys/_bitset.h: Fix fall-out from commit 5e04571cf3c 2022-06-22 10:15:26 +02:00
syscalls newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
time Modify tzset_r.c to handle errors 2022-05-27 11:05:11 -04:00
unix newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xdr newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc Silence xsltproc when writing manpages 2022-05-04 17:05:52 -04:00
Makefile.unidata cleanup Unicode data files after generating updated tables 2021-11-16 11:24:29 +01:00
acinclude.m4 newlib: drop phoenix support 2022-03-28 23:17:06 -04:00
libc.in.xml Generate manpages for functions in chapter sys.tex 2022-05-04 17:06:19 -04:00
libc.texi newlib: libc: include all chapters all the time in the manual 2022-02-04 19:39:09 -05:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00