summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-21 22:06:56 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-21 22:06:56 +0000
commit5b162053ab6618188ff824e079600d9fc48fdb54 (patch)
tree46b6d59a9952939136a78425640d4ed4a8c7ba97
parentbab50abfed00d2dd9f9dce924ebbc7412946bdb8 (diff)
Need to include <term.h> here when no weak symbols.
-rw-r--r--lib/libtermlib/vidattr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libtermlib/vidattr.c b/lib/libtermlib/vidattr.c
index 54a9ea4fbe3..58f1d89b04a 100644
--- a/lib/libtermlib/vidattr.c
+++ b/lib/libtermlib/vidattr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vidattr.c,v 1.3 1996/09/21 21:47:50 tholo Exp $ */
+/* $OpenBSD: vidattr.c,v 1.4 1996/09/21 22:06:55 tholo Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: vidattr.c,v 1.3 1996/09/21 21:47:50 tholo Exp $";
+static char rcsid[] = "$OpenBSD: vidattr.c,v 1.4 1996/09/21 22:06:55 tholo Exp $";
#endif
#include <sys/cdefs.h>
@@ -40,6 +40,9 @@ static char rcsid[] = "$OpenBSD: vidattr.c,v 1.3 1996/09/21 21:47:50 tholo Exp $
__indr_reference(_vidattr, vidattr);
#else
+#include <stdlib.h>
+#include "term.h"
+
#undef vidattr
#define _vidattr vidattr