pkgsrc/net/tcptraceroute6/patches/patch-rdnssd_rdnssd.h
he bcca6aebd9 Add tcptraceroute6 from the NDisc6 package by Remi Denis-Courmont.
This is similar to tcptraceroute, but for IPv6.
This is the version from 1.0.3 of the NDisc6 package.
2015-10-23 09:52:35 +00:00

22 lines
569 B
C

$NetBSD: patch-rdnssd_rdnssd.h,v 1.1 2015/10/23 09:52:35 he Exp $
Don't define nd_opt_rdnss on NetBSD.
--- rdnssd/rdnssd.h.orig 2011-10-17 15:35:11.000000000 +0000
+++ rdnssd/rdnssd.h
@@ -32,6 +32,7 @@ extern const rdnss_src_t rdnss_netlink,
#define ND_OPT_RDNSS 25
#define ND_OPT_DNSSL 31
+#if !defined(__NetBSD__)
struct nd_opt_rdnss
{
uint8_t nd_opt_rdnss_type;
@@ -49,6 +50,7 @@ struct nd_opt_dnssl
uint32_t nd_opt_dnssl_lifetime;
/* followed by one or more domain names */
};
+#endif /* !defined(__NetBSD__) */
# ifdef __cplusplus
extern "C" {