aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-03-09 14:33:11 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-03-09 14:33:11 -0800
commitea37b0c8db16032e0017135ab391b736484ddedb (patch)
treeb534c9a9e9d1e17584e2299ebdc9706fb0ef58d3 /src
parent68dbea2e6ad11e47be24fca0e666e407e8ceaa1f (diff)
Adding uv too
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/resolve_address.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/resolve_address.h b/src/core/lib/iomgr/resolve_address.h
index 660819c595..12fa762ed1 100644
--- a/src/core/lib/iomgr/resolve_address.h
+++ b/src/core/lib/iomgr/resolve_address.h
@@ -20,12 +20,19 @@
#define GRPC_CORE_LIB_IOMGR_RESOLVE_ADDRESS_H
#include <grpc/support/port_platform.h>
-
#include <stddef.h>
+#include "src/core/lib/iomgr/port.h"
+
+#ifdef GRPC_UV
+#include <uv.h>
+#endif
+
#ifdef GPR_WINDOWS
-#include <winsock2.h>
-#else
+#include <WS2tcpip.h>
+#endif
+
+#ifdef GRPC_POSIX_SOCKETADDR
#include <sys/socket.h>
#endif