]> granicus.if.org Git - zfs/commit
Fix libudev dependency in libzutil
authorDon Brady <don.brady@delphix.com>
Wed, 7 Nov 2018 01:47:52 +0000 (18:47 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 7 Nov 2018 01:47:52 +0000 (17:47 -0800)
commit95692927f28479c2d3cf0c1e60ad278c8748377c
treec14eff789a40f6fdff69cd6117e45e58f1c1bec4
parentf0f978654581cea4cc042e7f185e1843d727acdb
Fix libudev dependency in libzutil

ZFS should be able to build without libudev installed. The recent
change for libzutil inadvertently broke that.  Make the libudev code
conditional in zutil_import.c to resolve the build failure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #8097
include/libzutil.h
lib/libzutil/zutil_import.c