Commit 99585120 authored by Mike DePaulo's avatar Mike DePaulo

Cygwin nxcomp: Use Cygwin un.h

Cygwin has modified it over the years. Fixes FTBFS #394
parent 34275825
......@@ -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
{
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment