summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/m4/eval.c3
-rw-r--r--usr.bin/m4/gnum4.c3
-rw-r--r--usr.bin/m4/main.c3
-rw-r--r--usr.bin/m4/trace.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
index c674476ee65..bd9cb89bdeb 100644
--- a/usr.bin/m4/eval.c
+++ b/usr.bin/m4/eval.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eval.c,v 1.62 2006/03/23 08:03:25 espie Exp $ */
+/* $OpenBSD: eval.c,v 1.63 2006/03/24 08:03:44 espie Exp $ */
/* $NetBSD: eval.c,v 1.7 1996/11/10 21:21:29 pk Exp $ */
/*
@@ -40,6 +40,7 @@
*/
#include <sys/types.h>
+#include <err.h>
#include <errno.h>
#include <limits.h>
#include <unistd.h>
diff --git a/usr.bin/m4/gnum4.c b/usr.bin/m4/gnum4.c
index 600cf512c0e..2720c851aaf 100644
--- a/usr.bin/m4/gnum4.c
+++ b/usr.bin/m4/gnum4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gnum4.c,v 1.35 2006/03/23 08:04:54 espie Exp $ */
+/* $OpenBSD: gnum4.c,v 1.36 2006/03/24 08:03:44 espie Exp $ */
/*
* Copyright (c) 1999 Marc Espie
@@ -33,6 +33,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <ctype.h>
+#include <err.h>
#include <paths.h>
#include <regex.h>
#include <stddef.h>
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 58724a62d5c..064db65dc2d 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.73 2006/03/23 08:01:02 espie Exp $ */
+/* $OpenBSD: main.c,v 1.74 2006/03/24 08:03:44 espie Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
@@ -41,6 +41,7 @@
#include <assert.h>
#include <signal.h>
+#include <err.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/usr.bin/m4/trace.c b/usr.bin/m4/trace.c
index 897bc141f44..d2a1fb09064 100644
--- a/usr.bin/m4/trace.c
+++ b/usr.bin/m4/trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trace.c,v 1.14 2006/03/20 10:55:19 espie Exp $ */
+/* $OpenBSD: trace.c,v 1.15 2006/03/24 08:03:44 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
*
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <err.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>