Fix build problem on FreeBSD and GNU/kFreeBSD.
* util/getroot.c [__FreeBSD_kernel__]: Include `<sys/mount.h>'.
+2011-10-15 Robert Millan <rmh@gnu.org>
+
+ Fix build problem on FreeBSD and GNU/kFreeBSD.
+
+ * util/getroot.c [__FreeBSD_kernel__]: Include `<sys/mount.h>'.
+
2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
Fix overflow with >2GiB file on HFS+. >4GiB wasn't tested.
# include <sys/wait.h>
#endif
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+# include <sys/mount.h>
+#endif
+
#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR)
# include <grub/util/libzfs.h>
# include <grub/util/libnvpair.h>