This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]