Re: configure/make not finding malloc.h
Re: configure/make not finding malloc.h
- Subject: Re: configure/make not finding malloc.h
- From: "Al Byers" <email@hidden>
- Date: Wed, 1 Aug 2007 00:47:30 -0600
On 7/31/07, Peter O'Gorman <email@hidden> wrote:
On Jul 31, 2007, at 11:08 PM, Al Byers wrote:
> The only problem is that there is no /usr/include/malloc.h :)
>
> But there is /usr/include/malloc/malloc.h, won't it find that?
You do not want that, but no, it won't find it.
>
> Just a simple placement of <stdlib.h> for <malloc.h>?
Sure, if you look at the man page for malloc(3) on any modern system
you'll see '#include <stdlib.h>'. including
malloc.h is a linuxism.
Thanks Peter,
That worked like a charm. Actually, I only needed to comment out <malloc.h> as stdio.h was already there.
-Al
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden