diff options
| author | dholland <dholland@NetBSD.org> | 2010-12-25 17:19:04 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2010-12-25 17:19:04 +0000 |
| commit | b3f3096d3289888981069f221a11e0cf5506700a (patch) | |
| tree | 55053d69185427b8a1da8008716779f457d3db4e /usr.bin/make | |
| parent | d99d0fa4b0f67bee56b81fb75838fb273cfdde5a (diff) | |
Uses stat; needs sys/stat.h. No idea what's pulling it in implicitly on
NetBSD so I didn't notice. Woops. Noted by Kurt Schreiner on current-users.
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/parse.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index bebc53d946b..a4d22a71a31 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.170 2010/12/25 04:57:07 dholland Exp $ */ +/* $NetBSD: parse.c,v 1.171 2010/12/25 17:19:04 dholland Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: parse.c,v 1.170 2010/12/25 04:57:07 dholland Exp $"; +static char rcsid[] = "$NetBSD: parse.c,v 1.171 2010/12/25 17:19:04 dholland Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: parse.c,v 1.170 2010/12/25 04:57:07 dholland Exp $"); +__RCSID("$NetBSD: parse.c,v 1.171 2010/12/25 17:19:04 dholland Exp $"); #endif #endif /* not lint */ #endif @@ -125,6 +125,7 @@ __RCSID("$NetBSD: parse.c,v 1.170 2010/12/25 04:57:07 dholland Exp $"); #include <sys/types.h> #include <sys/mman.h> +#include <sys/stat.h> #include <assert.h> #include <ctype.h> #include <errno.h> |
