This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] fixincl.c missing prototypes
On 2005-01-31, at 22:41, Geoffrey Keating wrote:
Marcin Dalecki <firstname.lastname@example.org> writes:
This is fixing some missing prototypes in the file mentioned in
diff -urN gcc-4.0-20050123/fixincludes/fixincl.c
--- gcc-4.0-20050123/fixincludes/fixincl.c Wed Nov 17 06:06:41 2004
+++ gcc-4.0-20050123-new/fixincludes/fixincl.c Wed Jan 26 07:01:56
@@ -30,6 +30,9 @@
#define BAD_ADDR ((void*)-1)
I believe you need to wrap these with HAVE_SYS_TYPES_H and
HAVE_SYS_WAIT_H, and then use autoconf to get those defined.
I checked against another places where those get included.
They where not guared. Thus I assumed that since those headers are
pretty standard where GCC compiles this should be not needed.
However I can check whatever there is maybe an overall miss of the
required autoconf header check.