This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Add #include <stddef.h> in fastjar
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 08 Mar 2003 23:17:30 +0530
- Subject: Re: Patch: Add #include <stddef.h> in fastjar
- References: <B9NHWYXMJKHWT2WVB6PNLI3Y2XCBA6.3e69779f@p733>
Mohan Embar wrote:
> This patch adds an #include <stddef.h> to dostime.c in fastjar
> for the definition of NULL. It's required to do a self-hosted
> build of GCC/GCJ 3.3 under MingW GCC 3.2. I also believe it's
> a valid #include because the inclusion of stddef.h can't
> necessarily be inferred from the other #includes on all
> platforms.
BTW, if you just update your mingw-runtime package to the latest
release, this problem would be cured. It's really a deficiency
in older mingw-runtime releases where time.h did not indicate
that it "needs NULL" (see latest mingw-runtime time.h for
details on what this means).
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore,
INDIA. Web: http://ranjitmathew.tripod.com/