add prefix to strip in mt-pfiled
[archipelago] / xseg / peers / user / mt-vlmcd.c
index f8c9e73..8b85089 100644 (file)
@@ -3,7 +3,7 @@
 #include <unistd.h>
 #include <xseg/xseg.h>
 #include <xseg/protocol.h>
-#include <mpeer.h>
+#include <speer.h>
 #include <sched.h>
 #include <sys/syscall.h>
 
@@ -284,7 +284,8 @@ static int handle_serving(struct peerd *peer, struct peer_req *pr,
        return 0;
 }
 
-int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req)
+int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req,
+               enum dispatch_reason reason)
 {
        struct vlmc_io *vio = __get_vlmcio(pr);
        struct vlmcd *vlmc = __get_vlmcd(peer);