Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 COMPAT_90 doesn't necessarily imply COMPAT_50. ...



details:   https://anonhg.NetBSD.org/src/rev/12de43d47096
branches:  trunk
changeset: 934448:12de43d47096
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Jun 13 06:05:08 2020 +0000

description:
COMPAT_90 doesn't necessarily imply COMPAT_50. So include compat in6_var.h in
either case.

Fixes evbarm build that starts with COMPAT_60.

diffstat:

 sys/netinet6/in6.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 401d755dd0c6 -r 12de43d47096 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c        Sat Jun 13 05:31:28 2020 +0000
+++ b/sys/netinet6/in6.c        Sat Jun 13 06:05:08 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6.c,v 1.278 2020/06/12 11:04:45 roy Exp $    */
+/*     $NetBSD: in6.c,v 1.279 2020/06/13 06:05:08 mlelstv Exp $        */
 /*     $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $   */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.278 2020/06/12 11:04:45 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.279 2020/06/13 06:05:08 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -109,6 +109,7 @@
 #include <compat/netinet6/in6_var.h>
 #endif
 #ifdef COMPAT_90
+#include <compat/netinet6/in6_var.h>
 #include <compat/netinet6/nd6.h>
 #endif
 



Home | Main Index | Thread Index | Old Index