aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/i386/common/drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/common/drv.h')
-rw-r--r--sys/boot/i386/common/drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/common/drv.h b/sys/boot/i386/common/drv.h
index 8ad3c9cd1542..e437cb83bf91 100644
--- a/sys/boot/i386/common/drv.h
+++ b/sys/boot/i386/common/drv.h
@@ -40,9 +40,9 @@ struct dsk {
};
int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
-#ifdef GPT
+#if defined(GPT) || defined(ZFS)
int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
-#endif /* GPT */
+#endif /* GPT || ZFS */
uint64_t drvsize(struct dsk *dskp);
#endif /* !_DRV_H_ */