Fix standalone ldb build modules.
[samba.git] / source4 / lib / ldb / common / ldb_modules.c
index a4e0b9418856440300b19d71122dbd6201db61e3..af837d29656018990b8ef29a754d99a0ac56b41c 100644 (file)
@@ -128,11 +128,11 @@ static struct ops_list_entry {
 #ifndef STATIC_LIBLDB_MODULES
 
 #define STATIC_LIBLDB_MODULES \
-       ldb_operational_module_ops,     \
-       ldb_rdn_name_module_ops,        \
-       ldb_paged_results_module_ops,   \
-       ldb_sort_module_ops,            \
-       ldb_asq_module_ops, \
+       &ldb_operational_module_ops,    \
+       &ldb_rdn_name_module_ops,       \
+       &ldb_paged_results_module_ops,  \
+       &ldb_sort_module_ops,           \
+       &ldb_asq_module_ops, \
        NULL
 #endif