diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index 519ff62e47..835b9017d3 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -64,7 +64,9 @@ #include #include #include +#ifdef HAVE_LIBDISKMGT #include +#endif #include #include #include