Patch: Add #include <stddef.h> in fastjar
Ranjit Mathew
rmathew@hotmail.com
Sat Mar 8 17:45:00 GMT 2003
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/
More information about the Java-patches
mailing list