summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c5
-rw-r--r--nscd/netgroupcache.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index a8f287ef3e..58f621b66d 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -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 276e66ff44..13229f4213 100644
--- a/nscd/netgroupcache.c
+++ b/nscd/netgroupcache.c
@@ -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. */