diff --git a/include/uv.h b/include/uv.h index f040f50d..46eee26e 100644 --- a/include/uv.h +++ b/include/uv.h @@ -1262,14 +1262,6 @@ typedef struct uv_process_options_s { * `enum uv_process_flags` below. */ unsigned int flags; - /* - * Libuv can change the child process' user/group id. This happens only when - * the appropriate bits are set in the flags fields. This is not supported on - * windows; uv_spawn() will fail and set the error to UV_ENOTSUP. - */ - uv_uid_t uid; - uv_gid_t gid; - /* * The `stdio` field points to an array of uv_stdio_container_t structs that * describe the file descriptors that will be made available to the child @@ -1281,6 +1273,13 @@ typedef struct uv_process_options_s { */ int stdio_count; uv_stdio_container_t* stdio; + /* + * Libuv can change the child process' user/group id. This happens only when + * the appropriate bits are set in the flags fields. This is not supported on + * windows; uv_spawn() will fail and set the error to UV_ENOTSUP. + */ + uv_uid_t uid; + uv_gid_t gid; } uv_process_options_t; /*