natPlainDatagramSocketImpl.cc (socklen_t): Don't define.

2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>

	* java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
	define.
	* java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
	* include/posix.h (socklen_t): Define if not already defined.

From-SVN: r59533
This commit is contained in:
Andreas Tobler
2002-11-26 21:09:28 +01:00
committed by Tom Tromey
parent 13c22933ff
commit 32e098dd98
4 changed files with 11 additions and 6 deletions
+4
View File
@@ -58,6 +58,10 @@ _Jv_platform_close_on_exec (jint fd)
#ifndef DISABLE_JAVA_NET
#ifndef HAVE_SOCKLEN_T
#define socklen_t int
#endif
static inline int
_Jv_socket (int domain, int type, int protocol)
{