* grub-core/osdep/unix/getroot.c [HAVE_STRUCT_STATFS_F_FSTYPENAME

&& HAVE_STRUCT_STATFS_F_MNTFROMNAME]: Include sys/param.h and
	sys/mount.h.
This commit is contained in:
Vladimir Serbinenko 2013-11-11 23:10:30 +01:00
parent 394c3e0ac2
commit 6a74c4dfff
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-11-11 Vladimir Serbinenko <phcoder@gmail.com>
* 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 <phcoder@gmail.com>
* grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to ..

View file

@ -111,6 +111,11 @@
#include <sys/types.h>
#include <sys/wait.h>
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) && defined(HAVE_STRUCT_STATFS_F_MNTFROMNAME)
#include <sys/param.h>
#include <sys/mount.h>
#endif
static void
strip_extra_slashes (char *dir)
{