summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 15:13:54 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:25 -0700
commite468f8a3a7b10b9cecfc92a0c3090f25b42a56a6 (patch)
tree6b0999de44ab0a4c582ca23cba38c52d7717d47b /nss
parenta4186cffbfdb464ff1b7344fd7561d6014ef721e (diff)
downloadglibc-e468f8a3a7b10b9cecfc92a0c3090f25b42a56a6.tar.gz
Hurd: Add missing includes
Diffstat (limited to 'nss')
-rw-r--r--nss/makedb.c4
-rw-r--r--nss/nss_db/db-initgroups.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/nss/makedb.c b/nss/makedb.c
index d4ac16e4bf..5c073a7440 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -1,5 +1,5 @@
/* Create simple DB database from textual input.
- Copyright (C) 1996-2000, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1996-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -32,7 +32,9 @@
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <sys/stat.h>
+#include <sys/uio.h>
#include "nss_db/nss_db.h"
/* Get libc version number. */
diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index e56f58a445..16eb8e2d82 100644
--- a/nss/nss_db/db-initgroups.c
+++ b/nss/nss_db/db-initgroups.c
@@ -20,8 +20,10 @@
#include <ctype.h>
#include <errno.h>
#include <grp.h>
+#include <limits.h>
#include <paths.h>
#include <string.h>
+#include <sys/param.h>
#include "nss_db.h"