]> git.proxmox.com Git - grub2.git/commit - ChangeLog-2015
* kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
authorColin Watson <cjwatson@ubuntu.com>
Mon, 20 Sep 2010 11:12:33 +0000 (12:12 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 20 Sep 2010 11:12:33 +0000 (12:12 +0100)
commita63c31b62d204588f5a7f7ccb4b93c09aeb29f78
tree072066ebe43cb7d1637a54dd97aebf722b6da436
parent6439b8ee819d7c8fd2d3ed1afd501390638c79e8
* kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
on FreeBSD.  Define HAVE_DIOCGDINFO on NetBSD and FreeBSD to reduce
the verbosity of later #ifs.
(find_partition_start): Define this function on FreeBSD too.
(device_is_wholedisk) [__FreeBSD__ || __FreeBSD_kernel__]: New
function.
(grub_util_biosdisk_get_grub_dev): Use partition-start-sector logic
on FreeBSD.
ChangeLog
grub-core/kern/emu/hostdisk.c