]> git.proxmox.com Git - grub2.git/commit
2006-06-14 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Tue, 13 Jun 2006 22:50:01 +0000 (22:50 +0000)
committerokuji <okuji@localhost>
Tue, 13 Jun 2006 22:50:01 +0000 (22:50 +0000)
commit4889bdeca312d5a9204e676dd4377261b25f51f0
treecec50f1e912c980f5210e9fe8f306c94bad93283
parentfd39d4da421e66b24bcb74c31c85dd10f2f7e887
2006-06-14  Yoshinori K. Okuji  <okuji@enbug.org>

        * util/misc.c: Include config.h.
        [!HAVE_MEMALIGN]: Do not include malloc.h.
        (grub_memalign): Use posix_memalign, if present. Then, use
        memalign, if present. Otherwise, emit an error.

        * util/grub-emu.c: Do not include malloc.h.

        * include/grub/util/misc.h: Include unistd.h. This is required for
        FreeBSD, because off_t is defined in unistd.h. Reported by Harley
        D. Eades III <hde@foobar-qux.org>.

        * configure.ac (AC_GNU_SOURCE): Added.
        (AC_CHECK_FUNCS): Check posix_memalign and memalign for the host
        type.
ChangeLog
THANKS
config.h.in
configure
configure.ac
include/grub/util/misc.h
util/grub-emu.c
util/misc.c