[Date Prev][Date Next]
Re: (ITS#6534) bad ifdef/elif clause in liblutil
--On Monday, April 26, 2010 3:10 PM +0000 quanah@OpenLDAP.org wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.21
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (22.214.171.124)
> The following if/elif clause in liblutil is wrong:
Actually, the issue seems to be name changes in the header files under BSD.
This causes TIOCNOTTY to end up being undefined.
Here's the header information:
kibi@kbsd:~$ grep TIOCNOTTY /usr/include/ -r
/usr/include/sys/ttycom.h:#define TIOCNOTTY _IO('t', 113) /* void tty
kibi@kbsd:~$ grep ttycom.h -r /usr/include/
So we either need <bits/ioctls.h> or <sys/ttycom.h> to be included on this
particular platform. My guess is the latter would be most appropriate.
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration