From 104377d718654947f42f8812b17d1d3127c843a0 Mon Sep 17 00:00:00 2001
From: Gunter Knauf <gk@gknw.de>
Date: Tue, 30 Dec 2008 07:31:04 +0000
Subject: added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which
 seem to be IPv6-aware.

---
 lib/Makefile.netware | 1 +
 lib/config-os400.h   | 3 +++
 lib/config-riscos.h  | 3 +++
 lib/config-symbian.h | 3 +++
 lib/config-tpf.h     | 3 +++
 lib/config-win32ce.h | 3 +++
 6 files changed, 16 insertions(+)

(limited to 'lib')

diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index a5e0345c9..546086796 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 3a118796a..dccf8a869 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 82d579e53..25097fb0b 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 fb5dd23aa..cc9b03cb9 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 67f9cbfef..8524cda19 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 cd793d6cc..65b00a104 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                         */
 /* ---------------------------------------------------------------- */
-- 
cgit v1.2.3