aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/lb_policy/pick_first/pick_first.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ext/lb_policy/pick_first/pick_first.c')
-rw-r--r--src/core/ext/lb_policy/pick_first/pick_first.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ext/lb_policy/pick_first/pick_first.c b/src/core/ext/lb_policy/pick_first/pick_first.c
index 9decf70692..61b637fe7d 100644
--- a/src/core/ext/lb_policy/pick_first/pick_first.c
+++ b/src/core/ext/lb_policy/pick_first/pick_first.c
@@ -31,6 +31,11 @@
*
*/
+/* 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>