From: Thomas Schwinge Date: Thu, 10 May 2012 22:13:54 +0000 (-0700) Subject: Hurd: Add missing includes X-Git-Tag: glibc-2.16-tps~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e468f8a3a7b10b9cecfc92a0c3090f25b42a56a6;p=thirdparty%2Fglibc.git Hurd: Add missing includes --- diff --git a/ChangeLog b/ChangeLog index c568aecfa32..9a62ca42d93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-05-10 Thomas Schwinge + + * nss/makedb.c: Include (for MAX and roundup), and + (for writev). + * nss/nss_db/db-initgroups.c: Include (for ULONG_MAX), + and (for MIN). + 2012-05-10 Pino Toscano * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of diff --git a/nss/makedb.c b/nss/makedb.c index d4ac16e4bfa..5c073a7440c 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 , 1996. @@ -32,7 +32,9 @@ #include #include #include +#include #include +#include #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 e56f58a4455..16eb8e2d822 100644 --- a/nss/nss_db/db-initgroups.c +++ b/nss/nss_db/db-initgroups.c @@ -20,8 +20,10 @@ #include #include #include +#include #include #include +#include #include "nss_db.h"