summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwchild.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/window/wwchild.c')
-rw-r--r--usr.bin/window/wwchild.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/window/wwchild.c b/usr.bin/window/wwchild.c
index 90709befe1a..f2954187e39 100644
--- a/usr.bin/window/wwchild.c
+++ b/usr.bin/window/wwchild.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwchild.c,v 1.8 2004/03/16 01:11:09 tedu Exp $ */
/* $NetBSD: wwchild.c,v 1.3 1995/09/28 10:35:13 tls Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwchild.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwchild.c,v 1.8 2004/03/16 01:11:09 tedu Exp $";
#endif
#endif /* not lint */
@@ -45,10 +45,11 @@ static char rcsid[] = "$OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp
#include <sys/types.h>
#include <sys/wait.h>
+#include <errno.h>
+
void
wwchild()
{
- extern errno;
int olderrno;
struct ww **wp;
int w;