durusmail: quixote-users: Re: scgi , passfd.c under solaris
scgi , passfd.c under solaris
2002-10-28
Re: scgi , passfd.c under solaris
2002-10-29
2002-10-30
Re: scgi , passfd.c under solaris
Neil Schemenauer
2002-10-28
Jon Dyte wrote:
> In order to get passfd.c to compile under solaris' cc, I had to add
> the following to passfd.c before including sys/socket.h
>
> #ifndef _XPG4_2
> #define _XPG4_2
> #endif

Which version did you try?  The latest version of passfd has:

    #ifndef _XOPEN_SOURCE
    #define _XOPEN_SOURCE 500
    #endif

I think that does essentially the same thing.

  Neil

reply