aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Loop.cpp10
-rw-r--r--nxcomp/Proxy.cpp14
2 files changed, 0 insertions, 24 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 3710b6414..a3ea11009 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,15 +102,6 @@ typedef int socklen_t;
// System specific defines.
//
-#if defined(__EMX__) || defined(__CYGWIN32__)
-
-struct sockaddr_un
-{
- u_short sun_family;
- char sun_path[108];
-};
-
-#endif
//
// HP-UX hides this define.
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 123181489..3a7a42362 100644
--- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp
@@ -43,26 +43,12 @@
#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__)
-
-struct sockaddr_un
-{
- u_short sun_family;
- char sun_path[108];
-};
-
-#endif
-
#include "NXalert.h"
#include "NXvars.h"