Xos.h and sys/un.h conflict

AIDA Shinra aida_s@mx12.freecom.ne.jp
Thu Aug 30 10:46:00 GMT 2001


The probrem is following part:
********
#if defined(ISC) || \
    (defined(linux) && !defined(__GLIBC__)) || \
    (defined(__QNX__) && !defined(UNIXCONN)) || \
    defined(__CYGWIN__)
/*
 * Some OS's may not have this
 */

#define X_NO_SYS_UN 1

struct sockaddr_un {
 short sun_family;
 char sun_path[108];
};
#endif
********
Cygwin 1.3.2 already has struct sockaddr_un in sys/un.h,
so it is redefined when both sys/un.h and Xos.h are included.
This part is contained in both 4.1.0 and current CVS.




More information about the Cygwin-xfree mailing list