summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2015-04-06 09:42:23 +0000
committerglebius <glebius@FreeBSD.org>2015-04-06 09:42:23 +0000
commit78d51c7b15fc92383c6c68b46966248bdaf2bf1a (patch)
tree7538bd981b1bd3304ee087f206290f42ccc104f7 /usr.bin/netstat
parent0d3620e498ef1fb6f4bff312713b789f8f57e15e (diff)
downloadFreeBSD-src-78d51c7b15fc92383c6c68b46966248bdaf2bf1a.zip
FreeBSD-src-78d51c7b15fc92383c6c68b46966248bdaf2bf1a.tar.gz
Stop including if_var.h from userland.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/bpf.c1
-rw-r--r--usr.bin/netstat/if.c1
-rw-r--r--usr.bin/netstat/inet6.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/netstat/bpf.c b/usr.bin/netstat/bpf.c
index b48f9a1..60546e3 100644
--- a/usr.bin/netstat/bpf.c
+++ b/usr.bin/netstat/bpf.c
@@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$");
#include <sys/user.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <net/bpf.h>
#include <net/bpfdesc.h>
#include <arpa/inet.h>
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index cc8405e..f04c531 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <sys/time.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/ethernet.h>
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index 0d2006a..3535f45 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <net/route.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <netinet/in.h>
#include <netinet/ip6.h>
#include <netinet/icmp6.h>
OpenPOWER on IntegriCloud