Fix check for file descriptor passing

On a musl-based system, postfix incorrectly assumes that file descriptor
passing is not available, because of this line in sys_defs.h:

It builds fine, but when used with a milter or the postscreen daemon, it
will fail at runtime with this error:

See also [1] and [2].

[1] - <a href="" title=""></a>
[2] - <a href="" title=""></a>

Find attached a patch that will fix this issue.


Re: Fix check for file descriptor passing

By Wietse Venema at 06/18/2017 - 18:37

Wolfgang Mueller:
-- Start of PGP signed section.
I have added a few missing "defined(__GLIBC__)" guards.