mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
zstd: Add a stub <assert.h> for the kernel
The stub header includes <sys/kassert.h>. zstd's xx_hash.h #includes <assert.h> for the definition of static_assert() when building with C11 or newer. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D43239
This commit is contained in:
parent
d0d7fcbae4
commit
c6eb7f3fbf
1 changed files with 2 additions and 0 deletions
2
sys/contrib/zstd/lib/freebsd/assert.h
Normal file
2
sys/contrib/zstd/lib/freebsd/assert.h
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/* This file is in the public domain */
|
||||
#include <sys/kassert.h>
|
||||
Loading…
Add table
Reference in a new issue