Date: Mon, 27 Feb 95 13:09:03 -0800 From: Andrew Moore <alm@netcom.com> To: hasty@netcom.com (Amancio Hasty Jr) Cc: phk@ref.tfs.com, hackers@FreeBSD.org, alm@netcom.com Subject: Re: patches for gcc-2.6.3? Message-ID: <199502272109.NAA25566@netcom7.netcom.com> In-Reply-To: Your message of "Mon, 27 Feb 95 09:56:45 PST." <199502271756.JAA11552@netcom14.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[objc build failure] I solved this by conditionally including <stddef.h> instead of <machine/ansi.h> in <stdio.h>, <time.h>, <string.h> and <sys/types.h> This is from <stdio.h>: #ifdef __STDC__ #include <stddef.h> #else /* __STDC__ */ #include <machine/ansi.h> #ifdef _SIZE_T_ typedef _SIZE_T_ size_t; #undef _SIZE_T_ #endif #ifndef NULL #define NULL 0 #endif #endif /* __STDC__ */ I don't claim this to be a fix so much as a hack. But the problem it addresses (permanently undef'ing SIZE_T) does need fixing one way or another....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502272109.NAA25566>
