network_core.h
changeset 706 841f24d374ed
parent 543 e3b43338096b
child 770 89dab23f04ca
--- a/network_core.h	Sat Dec 18 16:00:10 2004 +0000
+++ b/network_core.h	Sat Dec 18 17:31:02 2004 +0000
@@ -52,10 +52,14 @@
 #		include <netinet/tcp.h>
 #		include <arpa/inet.h>
 #		include <net/if.h>
-#		include <ifaddrs.h>
+#		if !defined(SUNOS)
+#			include <ifaddrs.h>
 // If for any reason ifaddrs.h does not exist on a system, remove define below
 //   and an other system will be used to fetch ips from the system
-#		define HAVE_GETIFADDRS
+#			define HAVE_GETIFADDRS
+#		else
+#			define INADDR_NONE 0xffffffff
+#		endif // SUNOS
 #	endif // BEOS_NET_SERVER
 #	include <errno.h>
 #	include <sys/time.h>