diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-18 13:07:01 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-18 13:07:01 +0100 |
commit | 1b2d333ee3f3f4deb79e09f07358a4b8aec4933c (patch) | |
tree | a36f0dcb5fd0551e1d189a4f0297b6c4c46d2f18 /deps/uv/include/uv-private/uv-unix.h | |
parent | 48d21dd541929c85ee5bc0d7082811663442a698 (diff) | |
download | node-new-1b2d333ee3f3f4deb79e09f07358a4b8aec4933c.tar.gz |
uv: upgrade to e4680cc
Diffstat (limited to 'deps/uv/include/uv-private/uv-unix.h')
-rw-r--r-- | deps/uv/include/uv-private/uv-unix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/uv/include/uv-private/uv-unix.h b/deps/uv/include/uv-private/uv-unix.h index 21078fe363..abbccc2cc4 100644 --- a/deps/uv/include/uv-private/uv-unix.h +++ b/deps/uv/include/uv-private/uv-unix.h @@ -34,6 +34,7 @@ #include <arpa/inet.h> #include <netdb.h> #include <termios.h> +#include <pthread.h> /* Note: May be cast to struct iovec. See writev(2). */ typedef struct { @@ -43,6 +44,9 @@ typedef struct { typedef int uv_file; +typedef pthread_mutex_t uv_mutex_t; +typedef pthread_rwlock_t uv_rwlock_t; + /* Platform-specific definitions for uv_dlopen support. */ typedef void* uv_lib_t; #define UV_DYNAMIC /* empty */ |