Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Add a few little changes needed to get this to ...



details:   https://anonhg.NetBSD.org/src/rev/2c73e8d498ff
branches:  trunk
changeset: 480210:2c73e8d498ff
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Thu Jan 06 22:23:20 2000 +0000

description:
Add a few little changes needed to get this to compile on IRIX 6.4.

diffstat:

 usr.bin/make/util.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b38425dbfa0c -r 2c73e8d498ff usr.bin/make/util.c
--- a/usr.bin/make/util.c       Thu Jan 06 21:50:05 2000 +0000
+++ b/usr.bin/make/util.c       Thu Jan 06 22:23:20 2000 +0000
@@ -1,19 +1,20 @@
-/*     $NetBSD: util.c,v 1.23 1999/09/04 04:21:28 christos Exp $       */
+/*     $NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $       */
 
 /*
  * Missing stuff from OS's
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: util.c,v 1.23 1999/09/04 04:21:28 christos Exp $";
+static char rcsid[] = "$NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: util.c,v 1.23 1999/09/04 04:21:28 christos Exp $");
+__RCSID("$NetBSD: util.c,v 1.24 2000/01/06 22:23:20 wrstuden Exp $");
 #endif
 #endif
 
 #include <stdio.h>
+#include <time.h>
 #include "make.h"
 #include <sys/param.h>
 
@@ -431,7 +432,7 @@
        return rv;
 }
 
-#if !defined(__SVR4) && !defined(__linux__) && !defined(ultrix)
+#if !defined(__SVR4) && !defined(__linux__) && !defined(ultrix) && !defined(__sgi)
 
 int
 strftime(buf, len, fmt, tm)



Home | Main Index | Thread Index | Old Index