--- deliantra/server/include/cfperl.h 2007/11/14 08:09:46 1.91 +++ deliantra/server/include/cfperl.h 2007/12/20 08:24:01 1.92 @@ -498,7 +498,7 @@ struct iow : ev_io, evapi, callback { - static void thunk (struct ev_io *w_, int revents) + static void thunk (EV_P_ struct ev_io *w_, int revents) { iow &w = *static_cast(w_); @@ -523,12 +523,12 @@ void start () { - ev_io_start ((ev_io *)this); + ev_io_start (EV_DEFAULT, (ev_io *)this); } void stop () { - ev_io_stop ((ev_io *)this); + ev_io_stop (EV_DEFAULT, (ev_io *)this); } ~iow ()