Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: including sys/malloc.h produces errors?



If you just want to get the definition of malloc(3), include stdlib.h
instead of sys/malloc.h.

sys/malloc.h is for the kernel, AFAIK...

Rayson

--- Ken Hawkins <email@hidden> wrote:
> i have included sys/malloc.h for a static BSD library however now the
>
> malloc.h is producing errors? is there a newer one that i am supposed
>
> to update to?
>
> malloc.h:280: error: parse error before "u_short"
> malloc.h:286: error: parse error before '}' token
>
> anyone else seen this? stuck in the mud...
>
> thanks,
> ken;
> _______________________________________________
> darwin-development mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/darwin-development
> Do not post admin requests to the list. They will be ignored.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >including sys/malloc.h produces errors? (From: Ken Hawkins <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.