Fix the mess with ldb includes.
[metze/samba/wip.git] / source4 / lib / ldb / ldb_tdb / ldb_tdb.h
index 7b9a76501fc4a4ac5e516025dbad1980881b522a..7ebf199f6f5c3a64a418ef81229d50cc809f272d 100644 (file)
@@ -6,6 +6,8 @@
 #include "tdb.h"
 #endif
 
+#include "ldb_module.h"
+
 /* this private structure is used by the ltdb backend in the
    ldb_context */
 struct ltdb_private {
@@ -51,7 +53,7 @@ struct ltdb_context {
        struct ldb_dn *base;
        enum ldb_scope scope;
        const char * const *attrs;
-       struct timed_event *timeout_event;
+       struct tevent_timer *timeout_event;
 };
 
 /* special record types */