This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] sysdeps/generic/sysconf.c
- From: Marcus Brinkmann <marcus dot brinkmann at ruhr-uni-bochum dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 03 Nov 2004 02:50:35 +0100
- Subject: [patch] sysdeps/generic/sysconf.c
Hi,
sysdeps/generic/sysconf.c uses NSS_BUFLEN_GROUP and NSS_BUFLEN_PASSWD,
but doesn't include the headers defining them. This patch fixes that.
2004-11-03 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.
--- /home/marcus/gnu/hurd/cvs/libc/sysdeps/generic/sysconf.c 2003-01-17 01:03:24.000000000 +0100
+++ ./sysdeps/generic/sysconf.c 2004-11-03 02:46:44.000000000 +0100
@@ -18,6 +18,8 @@
02111-1307 USA. */
#include <errno.h>
+#include <grp.h>
+#include <pwd.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>