NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/57808: #include cycle between sys/types.h, machine/endian.h, and sys/endian.h



>Number:         57808
>Category:       lib
>Synopsis:       #include cycle between sys/types.h, machine/endian.h, and sys/endian.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 01 19:50:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The Header Cycle
>Environment:
>Description:
- sys/types.h includes machine/endian.h
- machine/endian.h includes sys/endian.h on most (all?) machines
- sys/endian.h includes sys/types.h
>How-To-Repeat:
Try to disentangle PR standards/57806 and PR standards/57807, trip over this rope in the process.
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index