summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-02-07 15:06:05 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-02-07 15:06:05 +0000
commitdda672ddda007da8eeb028e7bdec3b14f2d420ec (patch)
treec9afaf6bd01ba4e21477ab6f6aa104345a41ce52 /usr.bin/netstat/inet.c
parent3d6e791208198ba2c40c34106ae1720a44f99fe5 (diff)
add missing headers needed for warn() and err().
ok claudio@ ray@
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r--usr.bin/netstat/inet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 57d462b5058..8c1140ef8b0 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.109 2009/02/02 17:19:13 mbalmer Exp $ */
+/* $OpenBSD: inet.c,v 1.110 2009/02/07 15:06:04 chl Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -75,6 +75,7 @@
#include <rpc/pmap_clnt.h>
#include <arpa/inet.h>
+#include <err.h>
#include <limits.h>
#include <netdb.h>
#include <stdio.h>