From 2c040eff839ff8c2b1b1c3ab0f6cbb30976ce87a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 6 Apr 2012 21:09:36 +0200 Subject: Add missing include file Compiling on Linux/i586 I get these warnings: nss_db/db-initgroups.c:60:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nss_db/db-initgroups.c:74:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] Fixed with inclusion of --- ChangeLog | 3 +++ nss/nss_db/db-initgroups.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85497f2c99..10288cea35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-04-06 Andreas Jaeger + * nss/nss_db/db-initgroups.c: Include for strlen and + strncmp declarations. + * abilist/libc.abilist: Add __poll and __ppoll. 2012-04-05 David S. Miller diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c index 0d44e00b1b..e56f58a445 100644 --- a/nss/nss_db/db-initgroups.c +++ b/nss/nss_db/db-initgroups.c @@ -1,5 +1,5 @@ /* Initgroups handling in nss_db module. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper . @@ -21,6 +21,7 @@ #include #include #include +#include #include "nss_db.h" -- cgit v1.2.3