Wietse Venema:
> > unix_dgram_connect.c: In function 'unix_dgram_connect':
> > unix_dgram_connect.c:63:24: error: expected identifier or '(' before 
> > numeric constant
> >       struct sockaddr_un sun;
> >                          ^
> 
> Any idea why identical code in src/util/unix_listen.c compiles 
> without error?
> 
> unix_dgram_connect.c is new with Postfix 3.4, but most of the code
> is identical to unix_listen.c (in particular both files use 'sun').

But it does not have the line with

        #undef sun

that the other unix_*.c files have.

Add this, and it compiles (on my Solaris9 VM).

        Wietse

Reply via email to