in_addr_t is not defined on SunOS4...

Alexandre Oliva oliva@dcc.unicamp.br
Sat Aug 21 06:12:00 GMT 1999


On Aug 21, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> ... and inet_addr was assumed to return such a type.  I've hacked it
> to explicitly use the return type of inet_addr (__typeof) to
> initialize laddr, because I'm not sure in_addr_t is supposed to be
> defined in sys/types.h on all platforms in which it would be useful.
> Does anybody have an authoritative information?

After some research, I found out it was only typedef in sys/types.h on
DU4.0d; I couldn't find it in any other platform I've got, so I'll
assume it's safe to AC_CHECK_TYPE it.

This is the new version of the patch:



More information about the Java-patches mailing list