summaryrefslogtreecommitdiffstats
path: root/usr.bin/window
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-02 19:01:07 +0000
committerbde <bde@FreeBSD.org>1995-04-02 19:01:07 +0000
commite60505aff7181f2b3e2aa840cc39bc142d0f76c3 (patch)
tree6a7c495d65d0ccc8306a6786191eec6ff3b0aff0 /usr.bin/window
parent4abf7bb9b6a2ee31bc31217410a95035d602c209 (diff)
downloadFreeBSD-src-e60505aff7181f2b3e2aa840cc39bc142d0f76c3.zip
FreeBSD-src-e60505aff7181f2b3e2aa840cc39bc142d0f76c3.tar.gz
Include <stdlib.h> so that malloc() is declared.
Diffstat (limited to 'usr.bin/window')
-rw-r--r--usr.bin/window/compress.c1
-rw-r--r--usr.bin/window/ttinit.c1
-rw-r--r--usr.bin/window/wwopen.c1
-rw-r--r--usr.bin/window/xx.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/window/compress.c b/usr.bin/window/compress.c
index ccac095..d71b510 100644
--- a/usr.bin/window/compress.c
+++ b/usr.bin/window/compress.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)compress.c 8.1 (Berkeley) 6/6/93";
/* special */
#include <stdio.h>
#include <fcntl.h>
+#include <stdlib.h>
int cc_trace = 0;
FILE *cc_trace_fp;
diff --git a/usr.bin/window/ttinit.c b/usr.bin/window/ttinit.c
index 8b82872..eac904c 100644
--- a/usr.bin/window/ttinit.c
+++ b/usr.bin/window/ttinit.c
@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)ttinit.c 8.1 (Berkeley) 6/6/93";
#include "ww.h"
#include "tt.h"
+#include <stdlib.h>
int tt_h19();
int tt_h29();
diff --git a/usr.bin/window/wwopen.c b/usr.bin/window/wwopen.c
index c4fc96b..8a8be2a 100644
--- a/usr.bin/window/wwopen.c
+++ b/usr.bin/window/wwopen.c
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)wwopen.c 8.1 (Berkeley) 6/6/93";
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
+#include <stdlib.h>
struct ww *
wwopen(flags, nrow, ncol, row, col, nline)
diff --git a/usr.bin/window/xx.c b/usr.bin/window/xx.c
index 9b68b96..a5a1cc1 100644
--- a/usr.bin/window/xx.c
+++ b/usr.bin/window/xx.c
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#)xx.c 8.1 (Berkeley) 6/6/93";
#include "ww.h"
#include "xx.h"
#include "tt.h"
+#include <stdlib.h>
xxinit()
{
OpenPOWER on IntegriCloud