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>'.
This commit is contained in:
Robert Millan 2011-10-15 13:33:41 +02:00
parent d891955241
commit 0017e5ef84
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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.

View file

@ -52,6 +52,10 @@
# 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>