aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-13 18:33:31 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-13 18:33:31 +0000
commitf8de5057b9ded1d4ff41d8614530a83ba338c9e8 (patch)
treedd5ee0e8592c406c7de84c2f7438489e29154804 /nscd
parentea37207af11e1f398606fa97152d5b1038e585cb (diff)
downloadglibc-f8de5057b9ded1d4ff41d8614530a83ba338c9e8.zip
glibc-f8de5057b9ded1d4ff41d8614530a83ba338c9e8.tar.gz
glibc-f8de5057b9ded1d4ff41d8614530a83ba338c9e8.tar.bz2
* nscd/servicescache.c: Include kernel-features.h.
* nscd/gai.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/gai.c2
-rw-r--r--nscd/servicescache.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/nscd/gai.c b/nscd/gai.c
index 23964b7..f2db529 100644
--- a/nscd/gai.c
+++ b/nscd/gai.c
@@ -17,6 +17,8 @@
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <alloca.h>
+#include <kernel-features.h>
+
/* This file uses the getaddrinfo code but it compiles it without NSCD
support. We just need a few symbol renames. */
#define __inet_aton inet_aton
diff --git a/nscd/servicescache.c b/nscd/servicescache.c
index 89e107b..d6bf51d 100644
--- a/nscd/servicescache.c
+++ b/nscd/servicescache.c
@@ -24,6 +24,7 @@
#include <netdb.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <kernel-features.h>
#include "nscd.h"
#include "dbg_log.h"