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
Unknown Object (File)
Jan 25 2025, 6:10 AM
Unknown Object (File)
Jan 22 2025, 1:09 PM
Unknown Object (File)
Dec 6 2024, 10:07 AM
Unknown Object (File)
Nov 25 2024, 7:02 AM
Unknown Object (File)
Nov 24 2024, 2:32 PM
Unknown Object (File)
Nov 23 2024, 1:03 AM
Unknown Object (File)
Nov 22 2024, 10:23 AM
Unknown Object (File)
Nov 21 2024, 12:24 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