1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Use INADDR_BROADCAST if INADDR_NONE isn't defined.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@300 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-06 19:13:35 +00:00 committed by cras
parent c583a08c53
commit 0a1282765e

View File

@ -22,6 +22,10 @@
#include "network.h"
#include "net-internal.h"
#ifndef INADDR_NONE
#define INADDR_NONE INADDR_BROADCAST
#endif
union sockaddr_union {
struct sockaddr sa;
struct sockaddr_in sin;