network_core.h
changeset 1343 481847e32573
parent 1342 a1ca3e1df6bd
child 1412 189b1b7f98ed
--- a/network_core.h	Mon Feb 07 20:36:41 2005 +0000
+++ b/network_core.h	Tue Feb 08 15:42:28 2005 +0000
@@ -120,6 +120,7 @@
 #	if defined(__MORPHOS__)
 #		include <sys/filio.h> 	// FIO* defines
 #		include <sys/sockio.h>  // SIO* defines
+#		include <netinet/in.h>
 #	else // __AMIGA__
 #		include	<proto/socket.h>
 #	endif
@@ -131,6 +132,7 @@
 #	define ioctl ioctlsocket
 
 	typedef unsigned int in_addr_t;
+	typedef long         socklen_t;
 	extern struct Library *SocketBase;
 
 #	ifdef __AMIGA__