diff options
author | 2015-01-24 01:27:48 -0800 | |
---|---|---|
committer | 2015-01-24 14:23:38 -0800 | |
commit | d5a99855229542c149a91e4bb688442488f3c8c1 (patch) | |
tree | 05feded2505984a6a72e17826f91f8b23fc12345 /src/core/iomgr/sockaddr_posix.h | |
parent | 1ea024dbe26420dc3a9f66e5add922dfd91095d1 (diff) |
Fixing a few winsocket misuses.
Diffstat (limited to 'src/core/iomgr/sockaddr_posix.h')
-rw-r--r-- | src/core/iomgr/sockaddr_posix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/iomgr/sockaddr_posix.h b/src/core/iomgr/sockaddr_posix.h index 79ef3ca3cf..53c80386d4 100644 --- a/src/core/iomgr/sockaddr_posix.h +++ b/src/core/iomgr/sockaddr_posix.h @@ -34,7 +34,11 @@ #ifndef __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ #define __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ +#include <arpa/inet.h> #include <sys/socket.h> +#include <sys/types.h> #include <netinet/in.h> +#include <netdb.h> +#include <unistd.h> #endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ */ |