summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_nscd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/util_nscd.c b/source3/lib/util_nscd.c
index 4feab3b8ac..6002f14800 100644
--- a/source3/lib/util_nscd.c
+++ b/source3/lib/util_nscd.c
@@ -19,6 +19,10 @@
#include "includes.h"
+#ifdef HAVE_LIBNSCD
+#include <libnscd.h>
+#endif
+
static void smb_nscd_flush_cache(const char *service)
{
#ifdef HAVE_NSCD_FLUSH_CACHE