diff --git a/src/mainx.c b/src/mainx.c index 61e71613..389fc76c 100644 --- a/src/mainx.c +++ b/src/mainx.c @@ -285,7 +285,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");