aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-07-24 21:53:56 +0000
committerWarner Losh <imp@FreeBSD.org>2022-07-24 22:53:36 +0000
commit1306a5dc0747fa2b9ecc7ba2429ef4a3b9f6dcd0 (patch)
tree9b330844725e10839cabc76c3eb17d0656881eb9 /sys/cddl
parent976b977c61fbbc4b6a10a16ea225ad6a1a0e82ba (diff)
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/boot/zfs/zfsimpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/boot/zfs/zfsimpl.h b/sys/cddl/boot/zfs/zfsimpl.h
index d6e8900f6a97..843565607a49 100644
--- a/sys/cddl/boot/zfs/zfsimpl.h
+++ b/sys/cddl/boot/zfs/zfsimpl.h
@@ -76,7 +76,9 @@
#define AVL_PCMP(a, b) \
(((uintptr_t)(a) > (uintptr_t)(b)) - ((uintptr_t)(a) < (uintptr_t)(b)))
+#if !defined(NEED_SOLARIS_BOOLEAN) /* Only defined when we'll define this elsewhere */
typedef enum { B_FALSE, B_TRUE } boolean_t;
+#endif
/* CRC64 table */
#define ZFS_CRC64_POLY 0xC96C5795D7870F42ULL /* ECMA-182, reflected form */