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?

BTW, I am afraid that there are some more dependencies on glibc, such as argp. 
How do you deal with those?

Thanks,
Okuji


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to