This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971225, SunOS4 bootstrap problem + patch
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: egcs-971225, SunOS4 bootstrap problem + patch
- From: Bruno Haible <haible at ilog dot fr>
- Date: Sun, 11 Jan 1998 01:19:58 +0100 (MET)
- CC: egcs-bugs at cygnus dot com
> 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