From: Jim Meyering <meyering(a)redhat.com>
---
src/remote_internal.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/remote_internal.c b/src/remote_internal.c
index 08d42a9..703ebf8 100644
--- a/src/remote_internal.c
+++ b/src/remote_internal.c
@@ -36,6 +36,13 @@
#include <sys/stat.h>
#include <fcntl.h>
+#ifndef HAVE_WINSOCK2_H /* Unix & Cygwin. */
+# include <sys/un.h>
+# include <net/if.h>
+# include <netinet/in.h>
+# include <netinet/tcp.h>
+#endif
+
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
--
1.6.0.3.756.gb776d