summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libtermlib/fillcap.c5
-rw-r--r--lib/libtermlib/getterm.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtermlib/fillcap.c b/lib/libtermlib/fillcap.c
index 5f364a5d006..0b3ce2b26ff 100644
--- a/lib/libtermlib/fillcap.c
+++ b/lib/libtermlib/fillcap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fillcap.c,v 1.3 1996/12/16 16:53:41 deraadt Exp $ */
+/* $OpenBSD: fillcap.c,v 1.4 1998/01/17 16:35:05 millert Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,10 +31,11 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: fillcap.c,v 1.3 1996/12/16 16:53:41 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fillcap.c,v 1.4 1998/01/17 16:35:05 millert Exp $";
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "term.h"
#include "term.private.h"
diff --git a/lib/libtermlib/getterm.c b/lib/libtermlib/getterm.c
index ea4b8185a1f..d9b6ee77376 100644
--- a/lib/libtermlib/getterm.c
+++ b/lib/libtermlib/getterm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getterm.c,v 1.15 1998/01/17 16:20:29 millert Exp $ */
+/* $OpenBSD: getterm.c,v 1.16 1998/01/17 16:35:06 millert Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,9 +31,10 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: getterm.c,v 1.15 1998/01/17 16:20:29 millert Exp $";
+static char rcsid[] = "$OpenBSD: getterm.c,v 1.16 1998/01/17 16:35:06 millert Exp $";
#endif
+#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>