Skip to content

Commit c6eb7f3

Browse files
fel1x-developerbsdjhb
authored andcommitted
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
1 parent d0d7fcb commit c6eb7f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sys/contrib/zstd/lib/freebsd/assert.h

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* This file is in the public domain */
2+
#include <sys/kassert.h>

0 commit comments

Comments
 (0)