aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/include/efizfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/include/efizfs.h')
-rw-r--r--stand/efi/include/efizfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/stand/efi/include/efizfs.h b/stand/efi/include/efizfs.h
index b29fb8d1af7e..45c2ca1c94aa 100644
--- a/stand/efi/include/efizfs.h
+++ b/stand/efi/include/efizfs.h
@@ -31,6 +31,13 @@
#define _EFIZFS_H_
#ifdef EFI_ZFS_BOOT
+/*
+ * EFI defines these, but libzfs.h includes stuff which includes stuff which
+ * include sys/param.h which defines these. This is easier than any of the other
+ * crazy we can do.
+ */
+#undef MIN
+#undef MAX
#include <libzfs.h>
typedef STAILQ_HEAD(zfsinfo_list, zfsinfo) zfsinfo_list_t;