[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for successful compilation on FreeBSD Release-6.1

From: Yoshinori K. Okuji
Subject: Re: Patch for successful compilation on FreeBSD Release-6.1
Date: Wed, 14 Jun 2006 00:53:40 +0200
User-agent: KMail/1.8.2

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]