aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 14:39:53 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:24 -0700
commit37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca (patch)
treef915c0fb7e61e5ed4c3c5a82b7ab3c27bc95c8c3 /nscd
parent38de94a5efbc3de186d6f287d666f74e5b4c8247 (diff)
downloadglibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.zip
glibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.tar.gz
glibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.tar.bz2
Hurd: #include <kernel-features.h>
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c7
-rw-r--r--nscd/netgroupcache.c7
2 files changed, 6 insertions, 8 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index a8f287e..77b9ac4 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1,5 +1,5 @@
/* Inner loops of cache daemon.
- Copyright (C) 1998-2007, 2008, 2009, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1998-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -56,9 +56,8 @@
#include "dbg_log.h"
#include "selinux.h"
#include <resolv/resolv.h>
-#ifdef HAVE_SENDFILE
-# include <kernel-features.h>
-#endif
+
+#include <kernel-features.h>
/* Support to run nscd as an unprivileged user */
diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
index 276e66f..70cf9c1 100644
--- a/nscd/netgroupcache.c
+++ b/nscd/netgroupcache.c
@@ -1,5 +1,5 @@
/* Cache handling for netgroup lookup.
- 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 <drepper@gmail.com>, 2011.
@@ -27,9 +27,8 @@
#include "../inet/netgroup.h"
#include "nscd.h"
#include "dbg_log.h"
-#ifdef HAVE_SENDFILE
-# include <kernel-features.h>
-#endif
+
+#include <kernel-features.h>
/* This is the standard reply in case the service is disabled. */