Add #include <stdlib.h> to pick up prototypes for getenv and friends.

This commit is contained in:
Warner Losh 1997-09-29 03:53:53 +00:00
parent ec7bb87229
commit ce2d5f5fa6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29957
2 changed files with 4 additions and 2 deletions

View file

@ -47,7 +47,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#endif
static const char rcsid[] =
"$Id: main.c,v 1.21 1997/08/25 21:35:44 fsmp Exp $";
"$Id: main.c,v 1.22 1997/08/27 06:31:27 jkh Exp $";
#endif /* not lint */
/*-
@ -88,6 +88,7 @@ static const char rcsid[] =
#endif
#include <sys/wait.h>
#include <err.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: var.c,v 1.9 1997/02/22 19:27:25 peter Exp $
*/
#ifndef lint
@ -85,6 +85,7 @@ static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
*/
#include <ctype.h>
#include <stdlib.h>
#include "make.h"
#include "buf.h"