aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-08-25 23:35:55 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-08-25 23:35:55 +0000
commita86e97e50d990557519f2a31ca63134b08ae17c0 (patch)
treedc896ccad93667108330f8fc0f79c4be62f27299
parent3e1470776bf574e138472f579900e2002afc1dfd (diff)
downloadsrc-a86e97e50d990557519f2a31ca63134b08ae17c0.tar.gz
src-a86e97e50d990557519f2a31ca63134b08ae17c0.zip
ZFS: band-aid for -DNO_CLEAN
Submitted by: Neal Chauhan Approved by: imp@ Differential Revision: https://reviews.freebsd.org/D26183
Notes
Notes: svn path=/head/; revision=364788
-rw-r--r--sys/cddl/contrib/opensolaris/common/lz4/lz4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/common/lz4/lz4.c b/sys/cddl/contrib/opensolaris/common/lz4/lz4.c
index c21d51350c2c..915a58b6f75b 100644
--- a/sys/cddl/contrib/opensolaris/common/lz4/lz4.c
+++ b/sys/cddl/contrib/opensolaris/common/lz4/lz4.c
@@ -44,6 +44,7 @@
#include <sys/endian.h>
#include <assert.h>
+#undef ASSERT
#define ASSERT assert
#else
#include <string.h>
@@ -52,9 +53,10 @@
#include <netinet/in.h>
#include <assert.h>
+#undef ASSERT
#define ASSERT assert
#endif
-#include <lz4.h>
+#include "lz4.h"
static int real_LZ4_compress(const char *source, char *dest, int isize,
int osize);