From afc6a62b7a3afca860757afeee50acfe79a31c54 Mon Sep 17 00:00:00 2001 From: François Revel Date: Sun, 5 Dec 2010 19:16:49 +0000 Subject: BeOS does not support IPv6, and never will. svn path=/trunk/netsurf/; revision=11014 --- utils/config.h | 4 ++++ utils/url.c | 1 + 2 files changed, 5 insertions(+) diff --git a/utils/config.h b/utils/config.h index e5339ad64..a2b7f28cb 100644 --- a/utils/config.h +++ b/utils/config.h @@ -91,6 +91,10 @@ char *realpath(const char *path, char *resolved_path); #if defined(__HAIKU__) /*not yet: #define WITH_MMAP*/ #endif + #if defined(__BEOS__) + /* Not even BONE has it. */ + #define NO_IPV6 1 + #endif #else /* We're likely to have a working mmap() */ #define WITH_MMAP diff --git a/utils/url.c b/utils/url.c index c1dba2f5b..95bcfc06d 100644 --- a/utils/url.c +++ b/utils/url.c @@ -33,6 +33,7 @@ #include #include #include "curl/curl.h" +#include "utils/config.h" #include "utils/log.h" #include "utils/url.h" #include "utils/utils.h" -- cgit v1.2.3