Page MenuHomeFreeBSD

Include <stdint.h> in libc/inconv
AbandonedPublic

Authored by arichardson on Jan 16 2018, 7:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 17 2024, 3:06 AM
Unknown Object (File)
Jan 5 2024, 5:38 PM
Unknown Object (File)
Dec 25 2023, 9:39 AM
Unknown Object (File)
Dec 20 2023, 8:10 AM
Unknown Object (File)
Sep 16 2023, 12:28 PM
Unknown Object (File)
Jul 29 2023, 9:37 AM
Unknown Object (File)
Jun 28 2023, 4:37 PM
Unknown Object (File)
Jun 3 2023, 5:31 AM
Subscribers
None

Details

Reviewers
emaste
jhb
Summary

When crossbuilding FreeBSD on a Mac we need to bootstrap mkesdb_static and
that includes this file. On MacOS sys/types.h doesn't define uint8_t so we
need stdint.h as well.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14420
Build 14572: arc lint + arc unit

Event Timeline

Does stdint.h define all of the types needed here (i.e., is sys/types.h now redundant)?

I didn't check that but I would assume that size_t is also defined after including stdint.h. I can try compiling without sys/types.h later and check if it works.