aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/lb_policy/round_robin
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-09-16 13:25:08 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-09-16 13:25:08 -0700
commit9030c81f20c3721e7b0a92564f6e4d772a78ffcb (patch)
tree3bbe7fbaa32805f15d2153e7c9b814846ebc23c9 /src/core/ext/lb_policy/round_robin
parent6257159a3ae19f5caa3b44bcd201fc9183963cfe (diff)
Add a libuv endpoint to the C core, for use in the Node library
Diffstat (limited to 'src/core/ext/lb_policy/round_robin')
-rw-r--r--src/core/ext/lb_policy/round_robin/round_robin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ext/lb_policy/round_robin/round_robin.c b/src/core/ext/lb_policy/round_robin/round_robin.c
index 7bcf608ab9..da53143948 100644
--- a/src/core/ext/lb_policy/round_robin/round_robin.c
+++ b/src/core/ext/lb_policy/round_robin/round_robin.c
@@ -59,6 +59,11 @@
* the subchannel by the caller.
*/
+/* We currently need this at the top of the file if we import some iomgr
+ headers because if we are building with libuv, those headers will include
+ uv.h, which needs to be included before other system headers */
+#include "src/core/lib/iomgr/port.h"
+
#include <string.h>
#include <grpc/support/alloc.h>