summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/afs/src/lwp/lock.c1
-rw-r--r--usr.sbin/mrouted/main.c1
-rw-r--r--usr.sbin/mtrace/mtrace.c3
3 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/lwp/lock.c b/usr.sbin/afs/src/lwp/lock.c
index f077dffadc4..f5767f75774 100644
--- a/usr.sbin/afs/src/lwp/lock.c
+++ b/usr.sbin/afs/src/lwp/lock.c
@@ -41,6 +41,7 @@ RCSID("$arla: lock.c,v 1.11 2002/06/01 17:47:47 lha Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
+#include <err.h>
#define FALSE 0
diff --git a/usr.sbin/mrouted/main.c b/usr.sbin/mrouted/main.c
index a217940a862..161226d97be 100644
--- a/usr.sbin/mrouted/main.c
+++ b/usr.sbin/mrouted/main.c
@@ -23,6 +23,7 @@
#include <stdarg.h>
#include <fcntl.h>
#include <util.h>
+#include <err.h>
extern char *configfilename;
char versionstring[100];
diff --git a/usr.sbin/mtrace/mtrace.c b/usr.sbin/mtrace/mtrace.c
index 82b3f6b0131..bee2b4b8e38 100644
--- a/usr.sbin/mtrace/mtrace.c
+++ b/usr.sbin/mtrace/mtrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtrace.c,v 1.28 2009/10/27 23:59:53 deraadt Exp $ */
+/* $OpenBSD: mtrace.c,v 1.29 2011/09/21 21:05:40 jsg Exp $ */
/* $NetBSD: mtrace.c,v 1.5 1995/12/10 10:57:15 mycroft Exp $ */
/*
@@ -65,6 +65,7 @@
#include <sys/systeminfo.h>
#endif
#include <ifaddrs.h>
+#include <err.h>
#define DEFAULT_TIMEOUT 3 /* How long to wait before retrying requests */
#define DEFAULT_RETRIES 3 /* How many times to try */