HomeFreeBSD

sys/contrib/zlib: Always define Z_U8 and Z_U4

Description

sys/contrib/zlib: Always define Z_U8 and Z_U4

This is a temporary hack for zlib to make sure that the library
still builds when building with Z_SOLO (used in kernel and loader),
as zlib is depending on limits.h which is only available in STDC
case.

PR: kern/262977
MFC after: 3 days

(cherry picked from commit 0a21252adf11f7e839eabeb530e75cd1f9cd5386)

Approved by: re (gjb, early MFC)

(cherry picked from commit 9587a10b420f9ef243f578b6938662ff6b558e86)

Approved by: re (gjb)

Details

Provenance
delphijAuthored on Apr 3 2022, 6:45 PM
emasteCommitted on Apr 4 2022, 4:54 PM
Parents
rG8b3a5cdcf05f: MFV 7b495a2a7abf (zlib): Correct incorrect inputs provided to the CRC
Branches
Unknown
Tags
Unknown