summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/core.c
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2014-08-07 15:03:17 +0400
committerFedor Indutny <fedor@indutny.com>2014-08-07 15:03:17 +0400
commite49429ebd2fe0b7c24e2ee533311dd97f6febd1f (patch)
treed958c7f24638bc13ce3f17211e914828bad2fc85 /deps/uv/src/unix/core.c
parentaa3b4b4d106415b3afbc31df0db2476a04c997f1 (diff)
downloadandroid-node-v8-e49429ebd2fe0b7c24e2ee533311dd97f6febd1f.tar.gz
android-node-v8-e49429ebd2fe0b7c24e2ee533311dd97f6febd1f.tar.bz2
android-node-v8-e49429ebd2fe0b7c24e2ee533311dd97f6febd1f.zip
deps: update libuv to v0.11.28
Diffstat (limited to 'deps/uv/src/unix/core.c')
-rw-r--r--deps/uv/src/unix/core.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/uv/src/unix/core.c b/deps/uv/src/unix/core.c
index 402bb00eb2..4770d8d8c6 100644
--- a/deps/uv/src/unix/core.c
+++ b/deps/uv/src/unix/core.c
@@ -70,6 +70,10 @@
# endif
#endif
+#ifdef _AIX
+#include <sys/ioctl.h>
+#endif
+
static void uv__run_pending(uv_loop_t* loop);
/* Verify that uv_buf_t is ABI-compatible with struct iovec. */
@@ -444,7 +448,8 @@ int uv__close(int fd) {
}
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \
+ defined(_AIX)
int uv__nonblock(int fd, int set) {
int r;