From c6eb7f3fbffd9065ab75a2ed266f1b069fd97e6e Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Thu, 9 Jan 2025 13:28:12 -0500 Subject: zstd: Add a stub for the kernel The stub header includes . zstd's xx_hash.h #includes for the definition of static_assert() when building with C11 or newer. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D43239 --- sys/contrib/zstd/lib/freebsd/assert.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sys/contrib/zstd/lib/freebsd/assert.h (limited to 'sys/contrib/zstd') 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 -- cgit v1.3