diff options
author | 2016-10-28 07:27:48 -0700 | |
---|---|---|
committer | 2016-10-28 07:27:48 -0700 | |
commit | a1878705357cad75a1c33620fbb5362e46cca678 (patch) | |
tree | c843be9bafdff0bbdad790822b23d15a047a1ce0 /src/core/lib/iomgr/sockaddr.h | |
parent | 06ccccd72529e9c28f0c4a0007e760e683a30824 (diff) | |
parent | 6628e36a89b3ec709477b7ff494ec5e237ac8231 (diff) |
Merge github.com:grpc/grpc into flow_control_v2
Diffstat (limited to 'src/core/lib/iomgr/sockaddr.h')
-rw-r--r-- | src/core/lib/iomgr/sockaddr.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/sockaddr.h b/src/core/lib/iomgr/sockaddr.h index 5563d0b8a6..52b504390d 100644 --- a/src/core/lib/iomgr/sockaddr.h +++ b/src/core/lib/iomgr/sockaddr.h @@ -31,16 +31,24 @@ * */ +/* This header transitively includes other headers that care about include + * order, so it should be included first. As a consequence, it should not be + * included in any other header. */ + #ifndef GRPC_CORE_LIB_IOMGR_SOCKADDR_H #define GRPC_CORE_LIB_IOMGR_SOCKADDR_H -#include <grpc/support/port_platform.h> +#include "src/core/lib/iomgr/port.h" + +#ifdef GRPC_UV +#include <uv.h> +#endif #ifdef GPR_WINDOWS #include "src/core/lib/iomgr/sockaddr_windows.h" #endif -#ifdef GPR_POSIX_SOCKETADDR +#ifdef GRPC_POSIX_SOCKETADDR #include "src/core/lib/iomgr/sockaddr_posix.h" #endif |