aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/lb_policy
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-10-24 09:55:44 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-10-24 09:57:35 -0700
commit085f9afaf0bf96a42ba57f5ea739898ec26831ac (patch)
tree6b9f793ed6fe9297eaf075bf9fe29662c83f1400 /src/core/ext/lb_policy
parentb516cadc2a9f521ba02282475db8eac987b4f691 (diff)
Added import order comments, resolved other minor issues
Diffstat (limited to 'src/core/ext/lb_policy')
-rw-r--r--src/core/ext/lb_policy/grpclb/grpclb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ext/lb_policy/grpclb/grpclb.c b/src/core/ext/lb_policy/grpclb/grpclb.c
index 3a37001dfb..36f0a90bb8 100644
--- a/src/core/ext/lb_policy/grpclb/grpclb.c
+++ b/src/core/ext/lb_policy/grpclb/grpclb.c
@@ -96,6 +96,10 @@
* - Implement LB service forwarding (point 2c. in the doc's diagram).
*/
+/* With the addition of a libuv endpoint, sockaddr.h now includes uv.h when
+ using that endpoint. Because of various transitive includes in uv.h,
+ including windows.h on Windows, uv.h must be included before other system
+ headers. Therefore, sockaddr.h must always be included first */
#include "src/core/lib/iomgr/sockaddr.h"
#include <errno.h>