egcs/libiberty includes missing fix

Philippe De Muyter
Wed Jun 30 23:15:00 GMT 1999

> I will install your (incomplete) patch in the gcc-2.95 tree only.  You need
> to make the changes I requested before I will accept this patch for the
> main sources.

Thanks. However, my patch is a complete patch for the problem that `size_t'
and `NULL' are not defined if the appropriate header files are not #include'd,
so I think it should go also in the main tree.

> Specifically you need to write the includes in suitable autoconf conditionals

I do not think that we must test for existence of stdio.h or sys/types.h,
and there is no use of HAVE_STDIO_H or HAVE_SYS_TYPES_H in the whole egcs tree.

> and use NEED_DECLARATION_MALLOC to protect any declarations of malloc.

Kaveh R Ghazi wrote on the list that he would do this job, but there were
questions about the master version of libiberty.


More information about the Gcc-patches mailing list