Missing headers in auth_rimap

Julien ÉLIE <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Organization TrigoFACILE -- http://www.trigofacile.com/
Message-ID <[email protected]>
Hi,

On NetBSD 5.1, I get the following error when building Cyrus SASL 2.1.26:

auth_rimap.c: In function 'auth_rimap':
auth_rimap.c:375:24: error: storage size of 'timeout' isn't known
          struct timeval timeout;
                         ^
auth_rimap.c:488:24: error: storage size of 'timeout' isn't known
          struct timeval timeout;
                         ^


After investigation, I think auth_rimap.c misses the following code:

#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# if HAVE_SYS_TIME_H
#  include <sys/time.h>
# else
#  include <time.h>
# endif
#endif


If I add these lines (taken from lak.h), the build is fine.


Could they been added in the next release?

Thanks beforehand,

-- 
Julien ÉLIE

« Et puis, toi tu penses, moi je suis. » (Mot de passe)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.