From 2ab93df7b72749928c6c421954ded7b754e672f8 Mon Sep 17 00:00:00 2001 From: bluhm Date: Sat, 13 Jul 2024 10:09:40 +0000 Subject: [PATCH] Previous commit broke RAMDISK_CD kernel build. Always include udp.h in ip6_forward.c. --- sys/netinet6/ip6_forward.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c index 790fb842e56..5d2cf55592a 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_forward.c,v 1.122 2024/07/13 09:34:26 bluhm Exp $ */ +/* $OpenBSD: ip6_forward.c,v 1.123 2024/07/13 10:09:40 bluhm Exp $ */ /* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */ /* @@ -45,6 +45,9 @@ #include #include #include +#if NPF > 0 +#include +#endif #include #include @@ -53,20 +56,15 @@ #include #include #include - -#if NPF > 0 -#include -#endif - +#include +#include +#include +#include #ifdef IPSEC #include #include #include -#include #endif -#include -#include -#include /* * Forward a packet. If some error occurs return the sender -- 2.20.1