diff --git a/lib/Makefile.netware b/lib/Makefile.netware index a5e0345c9a..546086796d 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -454,6 +454,7 @@ ifdef ENABLE_IPV6 @echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@ @echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@ + @echo $(DL)#define HAVE_SIN6_SCOPE_ID 1$(DL) >> $@ endif endif @echo $(DL)#define USE_MANUAL 1$(DL) >> $@ diff --git a/lib/config-os400.h b/lib/config-os400.h index 3a118796ac..dccf8a869e 100644 --- a/lib/config-os400.h +++ b/lib/config-os400.h @@ -42,6 +42,9 @@ /* Define if you want to enable IPv6 support */ #define ENABLE_IPV6 +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* Define this to 'int' if ssize_t is not an available typedefed type */ #undef ssize_t diff --git a/lib/config-riscos.h b/lib/config-riscos.h index 82d579e53a..25097fb0bc 100644 --- a/lib/config-riscos.h +++ b/lib/config-riscos.h @@ -38,6 +38,9 @@ /* Define if you want to enable IPv6 support */ #undef ENABLE_IPV6 +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* Define this to 'int' if ssize_t is not an available typedefed type */ #undef ssize_t diff --git a/lib/config-symbian.h b/lib/config-symbian.h index fb5dd23aae..cc9b03cb95 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -66,6 +66,9 @@ /* Define if you want to enable IPv6 support */ #define ENABLE_IPV6 1 +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* Define to the type qualifier of arg 1 for getnameinfo. */ #define GETNAMEINFO_QUAL_ARG1 const diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 67f9cbfefd..8524cda190 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -62,6 +62,9 @@ /* Define if you want to enable IPv6 support */ /* #undef ENABLE_IPV6 */ +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +/* #undef HAVE_SIN6_SCOPE_ID */ + /* Define to the type of arg 1 for getnameinfo. */ /* #undef GETNAMEINFO_TYPE_ARG1 */ diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index cd793d6ccf..65b00a1044 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -323,6 +323,9 @@ /* Define this if you have struct timeval */ #define HAVE_STRUCT_TIMEVAL 1 +/* Define this if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* ---------------------------------------------------------------- */ /* COMPILER SPECIFIC */ /* ---------------------------------------------------------------- */ diff --git a/src/Makefile.netware b/src/Makefile.netware index 6b02935f2b..6be299cf80 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -442,6 +442,7 @@ ifdef ENABLE_IPV6 @echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@ @echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@ + @echo $(DL)#define HAVE_SIN6_SCOPE_ID 1$(DL) >> $@ endif endif @echo $(DL)#define USE_MANUAL 1$(DL) >> $@ diff --git a/src/config-riscos.h b/src/config-riscos.h index f8df38ed5c..0e6b3a19be 100644 --- a/src/config-riscos.h +++ b/src/config-riscos.h @@ -41,6 +41,9 @@ /* Define if you want to enable IPv6 support */ #undef ENABLE_IPV6 +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* Define this to 'int' if ssize_t is not an available typedefed type */ #undef ssize_t diff --git a/src/config-win32.h b/src/config-win32.h index 0ca61cccf8..3b7dc58e8a 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -200,6 +200,9 @@ /* Define this if you have struct timeval */ #define HAVE_STRUCT_TIMEVAL 1 +/* Define this if struct sockaddr_in6 has the sin6_scope_id member */ +#define HAVE_SIN6_SCOPE_ID 1 + /* ---------------------------------------------------------------- */ /* Watt-32 tcp/ip SPECIFIC */ /* ---------------------------------------------------------------- */