aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/sockaddr_posix.h
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <nicolas@nobis-crew.org>2015-01-24 01:27:48 -0800
committerGravatar Nicolas 'Pixel' Noble <nicolas@nobis-crew.org>2015-01-24 14:23:38 -0800
commitd5a99855229542c149a91e4bb688442488f3c8c1 (patch)
tree05feded2505984a6a72e17826f91f8b23fc12345 /src/core/iomgr/sockaddr_posix.h
parent1ea024dbe26420dc3a9f66e5add922dfd91095d1 (diff)
Fixing a few winsocket misuses.
Diffstat (limited to 'src/core/iomgr/sockaddr_posix.h')
-rw-r--r--src/core/iomgr/sockaddr_posix.h4
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_ */