diff options
author | imp <imp@FreeBSD.org> | 1997-09-29 03:53:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1997-09-29 03:53:53 +0000 |
commit | 623acf6a293692a1a6b07aeb001d50bd3546f425 (patch) | |
tree | b8ee3910f64af05dac242e0d74601f1c985b47a5 /usr.bin/make | |
parent | e9cae176456811a43012163ca243849959f911e0 (diff) | |
download | FreeBSD-src-623acf6a293692a1a6b07aeb001d50bd3546f425.zip FreeBSD-src-623acf6a293692a1a6b07aeb001d50bd3546f425.tar.gz |
Add #include <stdlib.h> to pick up prototypes for getenv and friends.
Diffstat (limited to 'usr.bin/make')
-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 a01c4a7..f2bbfbc 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 f0d741c..67ae2bd 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" |