From c361234cf80668ece97b686cbe09ec709a6db369 Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 27 Aug 2016 04:13:43 +0000 Subject: [PATCH] Pull in for howmany() and NBBY, used by various net*/*.h ok deraadt@ --- usr.bin/netstat/inet.c | 3 ++- usr.bin/netstat/mroute6.c | 3 ++- usr.bin/netstat/net80211.c | 3 ++- usr.bin/netstat/route.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 48659c928a4..9e0e0a67d85 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.149 2016/08/13 17:51:25 krw Exp $ */ +/* $OpenBSD: inet.c,v 1.150 2016/08/27 04:13:43 guenther Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -31,6 +31,7 @@ */ #include +#include #include #include #include diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c index 47a53a85738..7a85cc6c94b 100644 --- a/usr.bin/netstat/mroute6.c +++ b/usr.bin/netstat/mroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mroute6.c,v 1.20 2015/02/13 13:28:17 dcoppa Exp $ */ +/* $OpenBSD: mroute6.c,v 1.21 2016/08/27 04:13:43 guenther Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -65,6 +65,7 @@ */ #include +#include #include #include diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c index f1219ff9e17..465cbde5804 100644 --- a/usr.bin/netstat/net80211.c +++ b/usr.bin/netstat/net80211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net80211.c,v 1.16 2016/06/05 17:11:42 stsp Exp $ */ +/* $OpenBSD: net80211.c,v 1.17 2016/08/27 04:13:43 guenther Exp $ */ /* * Copyright (c) 2005 Reyk Floeter @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index b2f0fe1bc55..41bc572a660 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.99 2015/12/03 15:42:07 mpi Exp $ */ +/* $OpenBSD: route.c,v 1.100 2016/08/27 04:13:43 guenther Exp $ */ /* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */ /* @@ -32,6 +32,7 @@ #include #include +#include #include #include -- 2.20.1