Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix/dist/src/util We have getifaddrs...



details:   https://anonhg.NetBSD.org/src/rev/8844a28a9c32
branches:  trunk
changeset: 821871:8844a28a9c32
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Feb 20 05:43:12 2017 +0000

description:
We have getifaddrs(3) since NetBSD 1.5, regardless of whether IPv6 is
supported or not.

diffstat:

 external/ibm-public/postfix/dist/src/util/sys_defs.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6b116f24c248 -r 8844a28a9c32 external/ibm-public/postfix/dist/src/util/sys_defs.h
--- a/external/ibm-public/postfix/dist/src/util/sys_defs.h      Mon Feb 20 05:40:51 2017 +0000
+++ b/external/ibm-public/postfix/dist/src/util/sys_defs.h      Mon Feb 20 05:43:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_defs.h,v 1.10 2017/02/20 05:40:03 rin Exp $        */
+/*     $NetBSD: sys_defs.h,v 1.11 2017/02/20 05:43:12 rin Exp $        */
 
 #ifndef _SYS_DEFS_H_INCLUDED_
 #define _SYS_DEFS_H_INCLUDED_
@@ -185,6 +185,8 @@
     || defined(USAGI_LIBINET6)
 #ifndef NO_IPV6
 #define HAS_IPV6
+#endif
+#if !defined(NO_IPV6) || defined(__NetBSD__)
 #define HAVE_GETIFADDRS
 #endif
 #endif



Home | Main Index | Thread Index | Old Index