diff --git a/src/core/network.c b/src/core/network.c index ced2fb2e..fcb6c087 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -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;