diff --git a/ChangeLog b/ChangeLog index ab89fc9f6..304874db3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-11-11 Vladimir Serbinenko + + * grub-core/osdep/unix/getroot.c [HAVE_STRUCT_STATFS_F_FSTYPENAME + && HAVE_STRUCT_STATFS_F_MNTFROMNAME]: Include sys/param.h and + sys/mount.h. + 2013-11-11 Vladimir Serbinenko * grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to .. diff --git a/grub-core/osdep/unix/getroot.c b/grub-core/osdep/unix/getroot.c index ef3803748..25234108c 100644 --- a/grub-core/osdep/unix/getroot.c +++ b/grub-core/osdep/unix/getroot.c @@ -111,6 +111,11 @@ #include #include +#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) && defined(HAVE_STRUCT_STATFS_F_MNTFROMNAME) +#include +#include +#endif + static void strip_extra_slashes (char *dir) {