mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Add #include <stdlib.h> to get prototype for malloc(). Without this,
the compiler assumes an int return. On alpha this is enough to ruin ya day.
This commit is contained in:
parent
ad64a9aade
commit
c93bd87aba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33644
@ -45,7 +45,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: paste.c,v 1.3 1997/07/31 06:59:26 charnier Exp $";
|
||||
"$Id: paste.c,v 1.4 1997/08/05 03:40:04 asami Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -53,6 +53,7 @@ static const char rcsid[] =
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user