Page MenuHomeFreeBSD

cross-build: Include sys/types.h from sys/param.h
ClosedPublic

Authored by imp on May 24 2024, 9:07 PM.
Tags
None
Referenced Files
F102636017: D45352.diff
Fri, Nov 15, 3:40 AM
Unknown Object (File)
Fri, Nov 8, 7:29 AM
Unknown Object (File)
Sat, Oct 19, 2:10 PM
Unknown Object (File)
Sat, Oct 19, 2:07 PM
Unknown Object (File)
Sat, Oct 19, 2:06 PM
Unknown Object (File)
Fri, Oct 18, 10:56 AM
Unknown Object (File)
Thu, Oct 17, 3:33 AM
Unknown Object (File)
Oct 15 2024, 7:00 AM
Subscribers
None

Details

Summary

FreeBSD has a style(9) enforced assumption that sys/param.h includes
sys/types.h. However, Linux under musl doesn't do this so go ahead and
explicitly include it here. It won't hurt on the glibc systems, and
helps musl.

Co-authored-by: Val Packett <val@packett.cool>
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/1066

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable