Created attachment 150906 [details]
sigh, bugzilla wants this field filed in
__BSD_VISIBLE is always defined from sys/cdefs.h
As such, it should be fixed in several places.
$ grep -r '^#ifdef __BSD_VISIBLE' sys/
This will need an exp-run.
Ironically, commit r189814 for shm.h used #ifdef for shm.h and #if for sem.h.
A commit references this bug:
Date: Tue Nov 14 23:50:31 UTC 2017
New revision: 325835
Use #if instead of #ifdef for __BSD_VISIBLE tests.
__BSD_VISIBLE is always defined and it's value instead needs to be
tested via #if to determine if FreeBSD-specific APIs should be
PR: 196226, 223481 (exp-run)
Submitted by: pluknet
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D12977