diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-11-21 17:32:14 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-11-21 17:32:14 +0000 |
commit | 816d35a9b5a95da60ee98625f98532000a8687ec (patch) | |
tree | 1b635cf64f1657c5be72e39d52a6cde1121813e9 /usr.bin/netstat/show.c | |
parent | 65b268b253c31f769eaa1004edd7d6fec6ea512e (diff) |
split kernel parts of the if.h into a separate header file if_var.h
which allows us to modify ifnet structure in a relatively safe way;
discussed with deraadt, ok mpi
Diffstat (limited to 'usr.bin/netstat/show.c')
-rw-r--r-- | usr.bin/netstat/show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c index 67295e3c6ba..963e140a7f0 100644 --- a/usr.bin/netstat/show.c +++ b/usr.bin/netstat/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.39 2013/11/13 21:19:30 deraadt Exp $ */ +/* $OpenBSD: show.c,v 1.40 2013/11/21 17:32:13 mikeb Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -36,6 +36,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/pfkeyv2.h> |