HomeFreeBSD

kern_rctl.c: Minimal includes when RCTL not defined

Description

kern_rctl.c: Minimal includes when RCTL not defined

If RCTL is not defined, only the system call stubs returning ENOSYS are
compiled in. In this case, don't waste time including most headers
since their code is not used.

Reviewed by: markj
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

(cherry picked from commit e0205aa325c0936ccdd0e635576875786c41f6c3)

Approved by: emaste (mentor)

Details

Provenance
olceAuthored on Oct 19 2023, 2:28 PM
Parents
rG024284f3af0a: umtxvar.h: Add missing include
Branches
Unknown
Tags
Unknown