egcs, does gcc fixincludes etc guarantee a stdlib.h exists?

Philippe De Muyter phdm@macqel.be
Tue Apr 14 02:02:00 GMT 1998


> Mon Apr 13 12:18:31 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
>  
>         * frame.c: Include stdlib.h and unistd.h to possibly get various
>         function prototypes.  The fixproto script guarantees these header
>         files exist on the target system.

As I wrote before, stdlib.h and unistd.h are guaranteed to exist, but
there is no guarantee that you get a prototype for malloc from stdlib.h,
except if you define __USE_FIXED_PROTOTYPES__ before including stdlib.h.

Philippe De Muyter



More information about the Gcc mailing list