HomeFreeBSD

sys/file.h: Allow inclusion when compiling for a strict namespace

Description

sys/file.h: Allow inclusion when compiling for a strict namespace

Although not part of the standard, this file is sometimes included with
-D_POSIX_C_SOURCE=<value> or -D_XOPEN_SOURCE=<value>. Limit those
sturctures that use types hidden by __BSD_VISIBLE to when they are
visible.

PR: 259975, 234205
Sponsored by: Netflix

Details

Provenance
impAuthored on Nov 24 2021, 9:25 AM
Parents
rGb3fab418301e: devctl.h: Spelling typo
Branches
Unknown
Tags
Unknown