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
F173196848: D45352.id139063.diff
Thu, Sep 24, 5:57 AM
Unknown Object (File)
Sun, Sep 20, 7:53 AM
Unknown Object (File)
Sun, Sep 20, 5:23 AM
Unknown Object (File)
Tue, Sep 15, 12:56 PM
Unknown Object (File)
Sun, Sep 6, 4:34 PM
Unknown Object (File)
Sun, Sep 6, 3:59 AM
Unknown Object (File)
Fri, Sep 4, 5:16 AM
Unknown Object (File)
Fri, Sep 4, 12:31 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57906
Build 54794: arc lint + arc unit