Fix the mess with ldb includes.
[metze/samba/wip.git] / source4 / ntvfs / ipc / rap_server.c
index 077ecaf79f61a54ab34348005f7c0030737fc380..2bc07c3e7b31da91bb8b25c99edc981b0793178e 100644 (file)
@@ -21,6 +21,7 @@
 #include "includes.h"
 #include "param/share.h"
 #include "libcli/rap/rap.h"
+#include "libcli/raw/interfaces.h"
 #include "librpc/gen_ndr/srvsvc.h"
 #include "rpc_server/common/common.h"
 #include "param/param.h"
@@ -31,7 +32,7 @@
  * idea. */
 
 NTSTATUS rap_netshareenum(TALLOC_CTX *mem_ctx,
-                         struct event_context *event_ctx,
+                         struct tevent_context *event_ctx,
                          struct loadparm_context *lp_ctx,
                          struct rap_NetShareEnum *r)
 {