diff --git a/cmd/zinject/Makefile.am b/cmd/zinject/Makefile.am index 57c088a23e..d595af82cf 100644 --- a/cmd/zinject/Makefile.am +++ b/cmd/zinject/Makefile.am @@ -6,6 +6,8 @@ DEFAULT_INCLUDES += \ -I${top_srcdir}/lib/libuutil/include \ -I${top_srcdir}/lib/libzfs/include \ -I${top_srcdir}/lib/libnvpair/include \ + -I${top_srcdir}/module/zfs \ + -I${top_srcdir}/module/zfs/include \ -I${top_srcdir}/module/zcommon/include \ -I${top_srcdir}/module/nvpair/include \ -I${top_srcdir}/module/avl/include diff --git a/cmd/zinject/translate.c b/cmd/zinject/translate.c index c85e024b62..0264aca6fd 100644 --- a/cmd/zinject/translate.c +++ b/cmd/zinject/translate.c @@ -25,8 +25,6 @@ #include -#undef verify /* both libzfs.h and zfs_context.h want to define this */ - #include #include