From a386ca85590a0ee18c1d98c80c6b1ec4faab31a7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 22:30:23 +1100 Subject: s4-ldb: enable ldb module version checking --- source4/lib/ldb/tests/sample_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/ldb/tests') diff --git a/source4/lib/ldb/tests/sample_module.c b/source4/lib/ldb/tests/sample_module.c index d93c6de440..8862325c3b 100644 --- a/source4/lib/ldb/tests/sample_module.c +++ b/source4/lib/ldb/tests/sample_module.c @@ -21,6 +21,7 @@ License along with this library; if not, see . */ +#include "ldb_includes.h" #include "ldb_module.h" int sample_add(struct ldb_module *mod, struct ldb_request *req) @@ -63,5 +64,6 @@ static struct ldb_module_ops ldb_sample_module_ops = { int ldb_sample_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_sample_module_ops); } -- cgit