test: fix test-spawn compilation
Unbreaks libuv compilation on Windows. PR-URL: https://github.com/libuv/libuv/pull/1641 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
bb3d093bbb
commit
c6cca31463
@ -654,6 +654,9 @@ TEST_IMPL(spawn_tcp_server) {
|
||||
struct sockaddr_in addr;
|
||||
int fd;
|
||||
int r;
|
||||
#ifdef _WIN32
|
||||
uv_os_fd_t handle;
|
||||
#endif
|
||||
|
||||
init_process_options("spawn_tcp_server_helper", exit_cb);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user