From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva)
Subject: Re: Where is malloc() defined?
2 Jan 1998 06:49:35 -0800
Message-ID: <199801021432.JAA01367.cygnus.gnu-win32@woodmore.gsfc.nasa.gov>
References: <3.0.1.32.19980101214714.0069baa0@defiant.gsfc.nasa.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
To: joe.stevens@gsfc.nasa.gov (Joe Stevens)
Cc: gnu-win32@cygnus.com

Joe,
> 
> I have just installed the latest gnu-win32. I was compiling a program and
> the compiler was unable to locate malloc.h. What header file is the
> malloc() defined.
> 

Since "malloc.h" is not really ANSI it was left out.
A workaround is to create a single line "malloc.h":

#include <stdlib.h>

-- 
Arlindo da Silva    
dasilva@alum.mit.edu


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
