aboutsummaryrefslogtreecommitdiffstats
path: root/common/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/http.c')
-rw-r--r--common/http.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/http.c b/common/http.c
index 1e3e89790..1d84051a2 100644
--- a/common/http.c
+++ b/common/http.c
@@ -114,6 +114,9 @@ struct srventry
#ifndef EAGAIN
#define EAGAIN EWOULDBLOCK
#endif
+#ifndef INADDR_NONE /* Slowaris is missing that. */
+#define INADDR_NONE ((unsigned long)(-1))
+#endif /*INADDR_NONE*/
#define HTTP_PROXY_ENV "http_proxy"
#define MAX_LINELEN 20000 /* Max. length of a HTTP header line. */