ext/libuv/src/win/error.c in libuv-0.10.2 vs ext/libuv/src/win/error.c in libuv-0.10.3

- old
+ new

@@ -22,10 +22,11 @@ #include <assert.h> #include <errno.h> #include <malloc.h> #include <stdio.h> #include <string.h> +#include <stdlib.h> #include "uv.h" #include "internal.h" @@ -160,8 +161,9 @@ case ERROR_WRITE_PROTECT: return UV_EROFS; case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT; case WSAETIMEDOUT: return UV_ETIMEDOUT; case ERROR_NOT_SAME_DEVICE: return UV_EXDEV; case ERROR_INVALID_FUNCTION: return UV_EISDIR; + case ERROR_META_EXPANSION_TOO_LONG: return UV_E2BIG; default: return UV_UNKNOWN; } }