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:
@ -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);
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user