diff --git a/include/uv.h b/include/uv.h index 39db4f49..52808fac 100644 --- a/include/uv.h +++ b/include/uv.h @@ -289,8 +289,8 @@ UV_EXTERN uint64_t uv_now(uv_loop_t*); * Get backend file descriptor. Only kqueue, epoll and event ports are * supported. * - * This can be used in conjunction with uv_run_once() to poll in one thread and - * run the event loop's event callbacks in another. + * This can be used in conjunction with `uv_run(loop, UV_RUN_NOWAIT)` to + * poll in one thread and run the event loop's event callbacks in another. * * Useful for embedding libuv's event loop in another event loop. * See test/test-embed.c for an example. diff --git a/src/version.c b/src/version.c index 48dc7bd2..441d7bc5 100644 --- a/src/version.c +++ b/src/version.c @@ -19,6 +19,7 @@ * IN THE SOFTWARE. */ +#include "uv.h" /* * Versions with an even minor version (e.g. 0.6.1 or 1.0.4) are API and ABI