This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-971225, SunOS4 bootstrap problem + patch



> When bootstrapping on SunOS4 ...
> I created the following patch to gcov-io.h to make sure that
> the definition of size_t is available.
> +#include <sys/types.h>

To get size_t defined, according to ANSI C, you have to include <stdlib.h>.
Why do you include <sys/types.h>? SunOS 4 has <stdlib.h>, AFAIK.

Bruno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]