diff --git a/src/mainx.c b/src/mainx.c index d847d6f7..d82ecae5 100644 --- a/src/mainx.c +++ b/src/mainx.c @@ -266,7 +266,7 @@ int main(int argc, char *argv[], char *env[]) { } /* Initialize event loop using libev */ - struct ev_loop *loop = ev_default_loop(0); + struct ev_loop *loop = ev_loop_new(0); if (loop == NULL) die("Could not initialize libev. Bad LIBEV_FLAGS?\n");