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 Just because IPV6 ...



details:   https://anonhg.NetBSD.org/src/rev/0f04ad841cbd
branches:  trunk
changeset: 771095:0f04ad841cbd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Nov 08 22:21:30 2011 +0000

description:
Just because IPV6 support is disabled doesn't mean inet_ntop are not
present. Since the local prototype conflicts, use the system version.

diffstat:

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

diffs (25 lines):

diff -r ba1531789bd7 -r 0f04ad841cbd external/ibm-public/postfix/dist/src/util/sys_defs.h
--- a/external/ibm-public/postfix/dist/src/util/sys_defs.h      Tue Nov 08 22:13:58 2011 +0000
+++ b/external/ibm-public/postfix/dist/src/util/sys_defs.h      Tue Nov 08 22:21:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_defs.h,v 1.1.1.6 2011/07/31 10:03:06 tron Exp $    */
+/*     $NetBSD: sys_defs.h,v 1.2 2011/11/08 22:21:30 joerg Exp $       */
 
 #ifndef _SYS_DEFS_H_INCLUDED_
 #define _SYS_DEFS_H_INCLUDED_
@@ -1275,6 +1275,7 @@
  /*
   * Defaults for systems that pre-date IPv6 support.
   */
+#ifndef __NetBSD__
 #ifndef HAS_IPV6
 #define EMULATE_IPV4_ADDRINFO
 #define MISSING_INET_PTON
@@ -1283,6 +1284,7 @@
 extern int inet_pton(int, const char *, void *);
 
 #endif
+#endif
 
  /*
   * Workaround: after a watchdog alarm signal, wake up from select/poll/etc.



Home | Main Index | Thread Index | Old Index