Re: Missing headers in auth_rimap
Alexey Melnikov <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
On 26/08/2013 20:37, Julien ÉLIE wrote: > 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? Yes, I will fix that. Thanks for reporting the problem.