Missing headers in auth_rimap

Julien ÉLIE julien at trigofacile.com
Mon Aug 26 15:37:14 EDT 2013


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)


More information about the Cyrus-sasl mailing list