Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen need <limits.h> for _SC_GET{GR, PW}_SIZE_MAX



details:   https://anonhg.NetBSD.org/src/rev/4014e6c11c94
branches:  trunk
changeset: 571050:4014e6c11c94
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Nov 10 04:46:01 2004 +0000

description:
need <limits.h> for _SC_GET{GR,PW}_SIZE_MAX

diffstat:

 lib/libc/gen/sysconf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4dabd8039a99 -r 4014e6c11c94 lib/libc/gen/sysconf.c
--- a/lib/libc/gen/sysconf.c    Wed Nov 10 04:29:56 2004 +0000
+++ b/lib/libc/gen/sysconf.c    Wed Nov 10 04:46:01 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysconf.c,v 1.20 2004/11/10 04:02:52 lukem Exp $       */
+/*     $NetBSD: sysconf.c,v 1.21 2004/11/10 04:46:01 lukem Exp $       */
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)sysconf.c  8.2 (Berkeley) 3/20/94";
 #else
-__RCSID("$NetBSD: sysconf.c,v 1.20 2004/11/10 04:02:52 lukem Exp $");
+__RCSID("$NetBSD: sysconf.c,v 1.21 2004/11/10 04:46:01 lukem Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -48,6 +48,7 @@
 #include <sys/resource.h>
 
 #include <errno.h>
+#include <limits.h>
 #include <time.h>
 #include <unistd.h>
 



Home | Main Index | Thread Index | Old Index