diff options
author | murgatroid99 <mlumish@google.com> | 2016-09-16 13:25:08 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-09-16 13:25:08 -0700 |
commit | 9030c81f20c3721e7b0a92564f6e4d772a78ffcb (patch) | |
tree | 3bbe7fbaa32805f15d2153e7c9b814846ebc23c9 /src/core/lib/iomgr/socket_utils.h | |
parent | 6257159a3ae19f5caa3b44bcd201fc9183963cfe (diff) |
Add a libuv endpoint to the C core, for use in the Node library
Diffstat (limited to 'src/core/lib/iomgr/socket_utils.h')
-rw-r--r-- | src/core/lib/iomgr/socket_utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/socket_utils.h b/src/core/lib/iomgr/socket_utils.h index 6ce9a6859c..b01197ad18 100644 --- a/src/core/lib/iomgr/socket_utils.h +++ b/src/core/lib/iomgr/socket_utils.h @@ -36,10 +36,12 @@ #include "src/core/lib/iomgr/port.h" -#ifdef GRPC_WINSOCK_SOCKET +#if defined(GRPC_WINSOCK_SOCKET) #include "src/core/lib/iomgr/sockaddr_windows.h" -#else +#elif defined(GRPC_POSIX_SOCKET) #include "src/core/lib/iomgr/sockaddr_posix.h" +#elif defined(GRPC_UV) +#include <uv.h> #endif /* A wrapper for inet_ntop on POSIX systems and InetNtop on Windows systems */ |