summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 18:36:18 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:20:29 +0200
commitc8f811034288e45b762b51b8cfb66b021a32f5bd (patch)
treee92f0a4be68a4689c65416840ba11986f087039e /source3/lib
parent184339825dc2d27e5c9f0b66c413042b596c6375 (diff)
downloadsamba-c8f811034288e45b762b51b8cfb66b021a32f5bd.tar.gz
samba-c8f811034288e45b762b51b8cfb66b021a32f5bd.tar.bz2
samba-c8f811034288e45b762b51b8cfb66b021a32f5bd.zip
s3-build: only include libnscd.h where needed.
Guenther
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