diff options
| author | Minsoo Choo <minsoochoo0122@proton.me> | 2025-01-09 18:28:12 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2025-01-09 19:00:54 +0000 |
| commit | c6eb7f3fbffd9065ab75a2ed266f1b069fd97e6e (patch) | |
| tree | c9af64f52fd71f422d8106e388b0b6d41c590832 /sys/contrib/zstd | |
| parent | d0d7fcbae4207402b35f37cabe2bb5f30bec7c5d (diff) | |
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
Diffstat (limited to 'sys/contrib/zstd')
| -rw-r--r-- | sys/contrib/zstd/lib/freebsd/assert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/zstd/lib/freebsd/assert.h b/sys/contrib/zstd/lib/freebsd/assert.h new file mode 100644 index 000000000000..eb2efe9be6c0 --- /dev/null +++ b/sys/contrib/zstd/lib/freebsd/assert.h @@ -0,0 +1,2 @@ +/* This file is in the public domain */ +#include <sys/kassert.h> |
