mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
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
This commit is contained in:
parent
a7f127b653
commit
0a21252adf
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@
|
|||
#ifdef _KERNEL
|
||||
#define Z_SOLO
|
||||
#endif
|
||||
#if defined(Z_SOLO)
|
||||
#include <sys/types.h>
|
||||
#define Z_U8 __uint64_t
|
||||
#define Z_U4 __uint32_t
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue