Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Uses stat; needs sys/stat.h. No idea what's pul...



details:   https://anonhg.NetBSD.org/src/rev/ceec8f1d8868
branches:  trunk
changeset: 760067:ceec8f1d8868
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Dec 25 17:19:04 2010 +0000

description:
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:

 usr.bin/make/parse.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r ab257ce8bd6f -r ceec8f1d8868 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Sat Dec 25 16:49:08 2010 +0000
+++ b/usr.bin/make/parse.c      Sat Dec 25 17:19:04 2010 +0000
@@ -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 @@
 
 #include <sys/types.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>



Home | Main Index | Thread Index | Old Index