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:
parent
c583a08c53
commit
0a1282765e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user