]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sys/contrib/zlib: Always define Z_U8 and Z_U4
authorXin LI <delphij@FreeBSD.org>
Sun, 3 Apr 2022 18:45:38 +0000 (11:45 -0700)
committerEd Maste <emaste@FreeBSD.org>
Mon, 4 Apr 2022 16:54:20 +0000 (12:54 -0400)
commitc022121396da13d667c00ac588947647eac5f658
tree6a3a4b6087b3740ae1a987ad2899c4849cb0a3f7
parent8b3a5cdcf05f9129b697868e58773d6d9b854162
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)
sys/contrib/zlib/zconf.h