This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Xos.h and sys/un.h conflict


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]