opnsense-ports/sysutils/grub2/files/patch-include-grub-util-libzfs.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
234 B
C

--- include/grub/util/libzfs.h.orig
+++ include/grub/util/libzfs.h
@@ -22,6 +22,9 @@
#include <config.h>
#ifdef HAVE_LIBZFS_H
+#ifdef __FreeBSD__
+typedef int boolean_t;
+#endif
#include <libzfs.h>
#else /* ! HAVE_LIBZFS_H */