This is the mail archive of the libc-alpha@sourceware.org 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] |
Hello! Please apply the following patch. nscd/connections.c no longer only uses __ASSUME_SENDFILE, but also a bunch of other __ASSUME_* macros. For misc/syslog.c the include has been totally missing. 2008-12-16 Thomas Schwinge <tschwinge@gnu.org> * misc/syslog.c: Include <kernel-features.h>. * nscd/connections.c: Unconditionally include <kernel-features.h>. diff --git a/misc/syslog.c b/misc/syslog.c index 90cd3bf..353a7ca 100644 --- a/misc/syslog.c +++ b/misc/syslog.c @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)syslog.c 8.4 (Berkeley) 3/18/94"; #include <bits/libc-lock.h> #include <signal.h> #include <locale.h> +#include <kernel-features.h> #if __STDC__ #include <stdarg.h> diff --git a/nscd/connections.c b/nscd/connections.c index dd934c1..9d17785 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -52,9 +52,7 @@ #include "dbg_log.h" #include "selinux.h" #include <resolv/resolv.h> -#ifdef HAVE_SENDFILE -# include <kernel-features.h> -#endif +#include <kernel-features.h> /* Wrapper functions with error checking for standard functions. */ Regards, Thomas
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |