summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-11 01:53:11 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-11 01:53:11 +0200
commit7c7de11f20c5330c40c24d341056fb92806bbf37 (patch)
treeb931109a276f2010d15dfb4b9421485306965e4c /source4/ntvfs
parent670122d724ff190d886a8eca86b6eeff64592708 (diff)
downloadsamba-7c7de11f20c5330c40c24d341056fb92806bbf37.tar.gz
samba-7c7de11f20c5330c40c24d341056fb92806bbf37.tar.bz2
samba-7c7de11f20c5330c40c24d341056fb92806bbf37.zip
Fix LDB module initialization when using external ldb.
(This used to be commit b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/sysdep/sys_lease.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/ntvfs/sysdep/sys_lease.c b/source4/ntvfs/sysdep/sys_lease.c
index e6b11c450a..a0322bbcc1 100644
--- a/source4/ntvfs/sysdep/sys_lease.c
+++ b/source4/ntvfs/sysdep/sys_lease.c
@@ -28,7 +28,6 @@
#include "lib/events/events.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
-#include "build.h"
/* list of registered backends */
static struct sys_lease_ops *backends;
@@ -109,6 +108,10 @@ _PUBLIC_ NTSTATUS sys_lease_register(const struct sys_lease_ops *backend)
return NT_STATUS_OK;
}
+#ifndef STATIC_sys_lease_MODULES
+#define STATIC_sys_lease_MODULES NULL
+#endif
+
_PUBLIC_ NTSTATUS sys_lease_init(void)
{
static bool initialized = false;