1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00

s3-build: only include libnscd.h where needed.

Guenther
This commit is contained in:
Günther Deschner
2010-08-18 18:36:18 +02:00
parent 184339825d
commit c8f8110342
2 changed files with 4 additions and 4 deletions

View File

@ -907,10 +907,6 @@ void exit_server(const char *const reason) _NORETURN_;
void exit_server_cleanly(const char *const reason) _NORETURN_;
void exit_server_fault(void) _NORETURN_;
#ifdef HAVE_LIBNSCD
#include "libnscd.h"
#endif
#if defined(HAVE_IPV6)
void in6_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
struct in6_addr ip);

View File

@ -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