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.

[1] http://comments.gmane.org/gmane.mail.postfix.devel/2277

-- 
Sahil Tandon <sa...@freebsd.org>

Reply via email to