Make up the right dependencies now that ldb depends on libevents
[metze/samba/wip.git] / source / lib / ldb / examples / ldbreader.c
index c8f26c3860c8920737bf44ebd2f652c37c1ca265..6e5811453115b339cd0fdcd79690619ff7e0fa6f 100644 (file)
@@ -67,7 +67,7 @@ int main(int argc, const char **argv)
          Note that you can use the context structure as a parent
          for talloc allocations as well
        */
-       ldb = ldb_init(NULL);
+       ldb = ldb_init(NULL, NULL);
 
        /*
          We now open the database. In this example we just hard code the connection path.