aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nxcomp/Loop.cpp3
-rw-r--r--nxcomp/Proxy.cpp6
2 files changed, 2 insertions, 7 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 3710b6414..70c5b4505 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -75,7 +75,6 @@ typedef int socklen_t;
#ifndef __CYGWIN32__
#include <netinet/tcp.h>
-#include <sys/un.h>
#endif
//
@@ -103,7 +102,7 @@ typedef int socklen_t;
// System specific defines.
//
-#if defined(__EMX__) || defined(__CYGWIN32__)
+#if defined(__EMX__)
struct sockaddr_un
{
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 123181489..240d403a6 100644
--- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp
@@ -43,17 +43,13 @@
#include <netinet/in_systm.h>
#endif
-#ifndef __CYGWIN32__
-#include <sys/un.h>
-#endif
-
#ifndef ANDROID
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#endif
-#if defined(__EMX__ ) || defined(__CYGWIN32__)
+#if defined(__EMX__ )
struct sockaddr_un
{