aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-08-25 03:43:52 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-08-25 03:43:52 +0000
commitb3fc6d66120ca5d1aacf123a1fd2f099aa7bf1b5 (patch)
tree498dc4c332929dd7b3042b170d68e0c0f6b17ef5
parent13e4dbd245ee4594185329c6900f71349ffc6c73 (diff)
downloadsrc-b3fc6d66120ca5d1aacf123a1fd2f099aa7bf1b5.tar.gz
src-b3fc6d66120ca5d1aacf123a1fd2f099aa7bf1b5.zip
Fix libzfs build failures for some
In some environments adding zstd/include to the include path would cause zstd's stdlib.h to hide the system one.
Notes
Notes: svn path=/head/; revision=364751
-rw-r--r--cddl/lib/libzfs/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/cddl/lib/libzfs/Makefile b/cddl/lib/libzfs/Makefile
index cd2d2b99deb0..f10acd93a852 100644
--- a/cddl/lib/libzfs/Makefile
+++ b/cddl/lib/libzfs/Makefile
@@ -91,7 +91,6 @@ CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
-CFLAGS+= -I${SRCDIR}/sys/contrib/openzfs/module/zstd/include
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
CFLAGS+= -DHAVE_ISSETUGID
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h