{Patch] java.net network functions
Richard Earnshaw
rearnsha@arm.com
Thu Nov 21 05:56:00 GMT 2002
> Hmm, I suppose include/platform.h is a link to include/posix.h. In
> posix.h sys/socket.h is included. Thats where ::socket() should be
> defined.
> I just move the code and made no real changes and I tried to get all
> needed #defines too. I'm currently clueless why ::socket isnt defined
> on arm but on my i386-linux.
The difference is that previously we didn't depend on sys/socket.h
existing (which is why it's wrapped in autoconf include guards). But with
your change we now assume it does exist (we use a function from it even if
we didn't include it). A newlib libc does not provide this header so we
then get the error.
R.
More information about the Java-patches
mailing list