about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-11-03 01:55:28 +0000
committerRoland McGrath <roland@gnu.org>2004-11-03 01:55:28 +0000
commitab5f7c4506acd8f6030de4715dfdc6ac9bc0e2ea (patch)
treebd1b202bec157ba4c36dc66732445f846b467bc8
parent8ec1d37ce1f7eeb5ab9d1cc708a47cf29a318f9e (diff)
downloadglibc-ab5f7c4506acd8f6030de4715dfdc6ac9bc0e2ea.tar.gz
glibc-ab5f7c4506acd8f6030de4715dfdc6ac9bc0e2ea.tar.xz
glibc-ab5f7c4506acd8f6030de4715dfdc6ac9bc0e2ea.zip
* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/generic/sysconf.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f86f036be..391d153f7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
 
+	* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.
+
 	* sysdeps/generic/tempname.c (__path_search): Add missing argument
 	TRY_TMPDIR.
 
diff --git a/sysdeps/generic/sysconf.c b/sysdeps/generic/sysconf.c
index d67e3568a3..f22685cb29 100644
--- a/sysdeps/generic/sysconf.c
+++ b/sysdeps/generic/sysconf.c
@@ -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>