Fix various build problems on GNU/Hurd.
authorColin Watson <cjwatson@ubuntu.com>
Fri, 20 Dec 2013 14:02:27 +0000 (14:02 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Fri, 20 Dec 2013 14:02:27 +0000 (14:02 +0000)
commit3bc1b2daabb9b07a9c08bca386005d96f07147fe
tree324921cda02e99358437977687e44eb4a76c936a
parent2fa5a58ca327a74f6ccc258a113b3802ac762df0
Fix various build problems on GNU/Hurd.

* grub-core/osdep/unix/getroot.c (strip_extra_slashes): Move inside
!defined (__GNU__).
(xgetcwd): Likewise.
* include/grub/emu/hostdisk.h (grub_util_hurd_get_disk_info)
[__GNU__]: Add prototype.
* util/getroot.c (grub_util_biosdisk_get_grub_dev) [__GNU__]: Format
long int using %ld rather than %d.
ChangeLog
grub-core/osdep/unix/getroot.c
include/grub/emu/hostdisk.h
util/getroot.c