From 71e166afe378b2ba06147ef354c507f982bd8b2f Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 28 Feb 2002 00:14:04 +0000 Subject: [PATCH] Fix another boatload of warnings (missing include) and a cosmetic -Wuninitialized warning. --- sys/netinet6/ah_input.c | 2 ++ sys/netinet6/esp_input.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/netinet6/ah_input.c b/sys/netinet6/ah_input.c index 63605d036f4e..c4cc55667676 100644 --- a/sys/netinet6/ah_input.c +++ b/sys/netinet6/ah_input.c @@ -66,6 +66,7 @@ #ifdef INET6 #include #include +#include #include #include #include @@ -990,6 +991,7 @@ ah6_ctlinput(cmd, sa, d) } else { m = NULL; ip6 = NULL; + off = 0; /* calm gcc */ } if (ip6) { diff --git a/sys/netinet6/esp_input.c b/sys/netinet6/esp_input.c index c235d99c1833..74e6830128f5 100644 --- a/sys/netinet6/esp_input.c +++ b/sys/netinet6/esp_input.c @@ -64,6 +64,7 @@ #ifdef INET6 #include +#include #include #include #include @@ -914,6 +915,7 @@ esp6_ctlinput(cmd, sa, d) } else { m = NULL; ip6 = NULL; + off = 0; /* calm gcc */ } if (ip6) {