summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-08-01 16:49:31 +0000
committerdes <des@FreeBSD.org>2002-08-01 16:49:31 +0000
commit1d14d5adc9396c31736da74c756c0f34b188dc67 (patch)
tree779ddb99164422674e75fd691dcff06a0c88af68 /usr.bin
parent7af111191c599878545a46db61bc2ce941a6db99 (diff)
downloadFreeBSD-src-1d14d5adc9396c31736da74c756c0f34b188dc67.zip
FreeBSD-src-1d14d5adc9396c31736da74c756c0f34b188dc67.tar.gz
Don't depend on namespace pollution from <netinet/in_pcb.h>.
Submitted by: bde
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sockstat/sockstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
index 46a7e95..b8692a8 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$");
#include <sys/un.h>
#include <sys/unpcb.h>
+#include <net/route.h>
+
#include <netinet/in.h>
#include <netinet/in_pcb.h>
#include <netinet/tcp.h>
OpenPOWER on IntegriCloud