]> 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 15:58:10 +0000 (11:58 -0400)
commit9587a10b420f9ef243f578b6938662ff6b558e86
tree5b3868b1a5d89fd5c2390888c986c9e0597f7796
parent6b0e0c9e9534149d932fc8b71d1d21a09fe31ffc
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)
sys/contrib/zlib/zconf.h