summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2011-09-21 21:05:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2011-09-21 21:05:41 +0000
commitb30cc46d0a6f9c2931eed4b2252015fd889702e4 (patch)
tree03f4af6372f6f844c5254eda707ef3c52fd8a4b3
parent35017e109943c99b77c326a30cad363fb1209ef8 (diff)
fix missing err.h includes
-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 */