Include correct header files for sockaddr_vm am: 8b547c4895
Change-Id: Ia7539ba3f9681f140e75ed6eadd8a3a14ae9c8d6
diff --git a/src/core/lib/iomgr/unix_sockets_posix.cc b/src/core/lib/iomgr/unix_sockets_posix.cc
index 0cbe3e9..49ced55 100644
--- a/src/core/lib/iomgr/unix_sockets_posix.cc
+++ b/src/core/lib/iomgr/unix_sockets_posix.cc
@@ -19,11 +19,17 @@
#include "src/core/lib/iomgr/port.h"
+#ifdef GRPC_HAVE_LINUX_VSOCK
+
+#include <sys/socket.h>
+#include <linux/vm_sockets.h>
+
+#endif /* GRPC_HAVE_LINUX_VSOCK */
+
#ifdef GRPC_HAVE_UNIX_SOCKET
#include "src/core/lib/iomgr/sockaddr.h"
-#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>