"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: > On Tuesday 13 June 2006 23:52, Harley D. Eades III wrote: > > off_t is defined here on FreeBSD. > > I understand.
:) > > I am not adding the include. All I added was the #if statement so > > this is not included on FreeBSD. So you are correct about the header > > file not being used on FreeBSD, because it's not. :) IIRC, GNU/Linux > > does define memalign in malloc.h though, so this could be the reason > > it has been included already. > > You are right. I've checked in my own fix for this problem. Since recent > FreeBSD supports posix_memalign, I think mine is a bit better. Can you > confirm that this works on FreeBSD? Will do, but, I thought posix_memalign is not going to be active until the next release? This explains my concern (See Release:) : http://www.freebsd.org/cgi/query-pr.cgi?pr=85090 > BTW, I am afraid that there are some more dependencies on glibc, such as > argp. > How do you deal with those? FreeBSD packages libargp, I add it to LDFLAGS. :) Cheers Harley _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel