*BSD compile fix from Rivo Nurges.
diff --git a/ripngd/ripng_nexthop.h b/ripngd/ripng_nexthop.h
index 5c778f5..2213fc2 100644
--- a/ripngd/ripng_nexthop.h
+++ b/ripngd/ripng_nexthop.h
@@ -41,6 +41,11 @@
  **/
 static inline int
 addr6_cmp(struct in6_addr *A, struct in6_addr *B) {
+
+#ifndef s6_addr32
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif /*s6_addr32*/
+
 #define a(i) A->s6_addr32[i]
 #define b(i) B->s6_addr32[i]