aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Loop.cpp
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2017-03-29 07:19:25 -0400
committerMike DePaulo <mikedep333@gmail.com>2017-03-29 07:19:25 -0400
commit99585120652f222a3016854e56884ed89c37de3c (patch)
tree804754e3b5ca392f209c4b5f7f95f337e6692a02 /nxcomp/Loop.cpp
parent342758254b1b8507c9ec774f40d8ec62baf394a8 (diff)
downloadnx-libs-99585120652f222a3016854e56884ed89c37de3c.tar.gz
nx-libs-99585120652f222a3016854e56884ed89c37de3c.tar.bz2
nx-libs-99585120652f222a3016854e56884ed89c37de3c.zip
Cygwin nxcomp: Use Cygwin un.h
Cygwin has modified it over the years. Fixes FTBFS #394
Diffstat (limited to 'nxcomp/Loop.cpp')
-rw-r--r--nxcomp/Loop.cpp3
1 files changed, 1 insertions, 2 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
{