diff options
author | Warner Losh <imp@FreeBSD.org> | 1997-09-29 03:53:53 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1997-09-29 03:53:53 +0000 |
commit | ce2d5f5fa657cfdde766308818f34507fea08eb3 (patch) | |
tree | f2f6c3814612a0d4883fd700ccdf84b7a2dc8f79 | |
parent | ec7bb87229648cf42aa7c10e005dd7e623dd6110 (diff) | |
download | src-ce2d5f5fa657cfdde766308818f34507fea08eb3.tar.gz src-ce2d5f5fa657cfdde766308818f34507fea08eb3.zip |
Add #include <stdlib.h> to pick up prototypes for getenv and friends.
Notes
Notes:
svn path=/head/; revision=29957
-rw-r--r-- | usr.bin/make/main.c | 3 | ||||
-rw-r--r-- | usr.bin/make/var.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index a01c4a7771bb..f2bbfbcfd3b4 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -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> diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index f0d741cb0e0c..67ae2bddfde7 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -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" |