Am 26.02.2011 00:52, schrieb Sahil Tandon: > On Fri, 2011-02-25 at 10:50:45 +0100, kristof.vans...@telenet.be wrote: > >> This problem exist in the 2.7 and 2.8 branch: >> >> In file included from attr_clnt.c:77: >> /usr/include/unistd.h:329: error: conflicting types for 'closefrom' >> ./sys_defs.h:1399: error: previous declaration of 'closefrom' was here >> *** Error code 1 >> >> Stop in /home/src/postfix-2.7.2/src/util. >> *** Error code 1 >> >> Stop in /home/src/postfix-2.7.2. > > Ah, you are not using the ports infrastructure, in which sys_defs.h has > been patched to be aware of the closefrom() system call in 702104 and > other FreeBSD versions. > > FWIW, this issue was discussed[1] on -devel a few months ago.
Maybe, but pulling the patch into the upstream sources would seem right to put this refinement where it belongs, no?