Module Name: src
Committed By: rin
Date: Mon Feb 20 05:43:12 UTC 2017
Modified Files:
src/external/ibm-public/postfix/dist/src/util: sys_defs.h
Log Message:
We have getifaddrs(3) since NetBSD 1.5, regardless of whether IPv6 is
supported or not.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/ibm-public/postfix/dist/src/util/sys_defs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/ibm-public/postfix/dist/src/util/sys_defs.h
diff -u src/external/ibm-public/postfix/dist/src/util/sys_defs.h:1.10 src/external/ibm-public/postfix/dist/src/util/sys_defs.h:1.11
--- src/external/ibm-public/postfix/dist/src/util/sys_defs.h:1.10 Mon Feb 20 05:40:03 2017
+++ src/external/ibm-public/postfix/dist/src/util/sys_defs.h Mon Feb 20 05:43:12 2017
@@ -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