On 4/1/19 20:08, Wietse Venema wrote:
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
Wietse and Guys
Thanks for the feedback and solution. Have done as suggested, tested on
both GCC 7.3.0 and DeveloperStudio 12.6, both working fine and producing
working binaries.
Regards
--
---
Jaco Lesch
SAIX HLS
Email: ja...@saix.net