Explode zstd 1.4.5 into separate upstream files

It's much nicer to import from upstream this way, and compiles
faster too.

Everything in lib/ is unmodified 1.4.5.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12978
This commit is contained in:
Rich Ercolani
2022-03-01 08:32:52 -05:00
committed by Brian Behlendorf
parent 669683c4cb
commit 234e9605c1
58 changed files with 23917 additions and 27895 deletions
+1
View File
@@ -44,6 +44,7 @@ extern "C" {
#ifdef _KERNEL
#if defined(__FreeBSD__)
#include <sys/types.h> /* u_int, u_char */
#include <sys/systm.h> /* memcpy, memset */
#elif defined(__linux__)
#include <linux/string.h> /* memcpy, memset */