[Dovecot] beta 1.1-3 compile fails on solaris 9 sparc, cc.

Timo Sirainen tss at iki.fi
Tue Oct 23 16:59:37 EEST 2007


On Tue, 2007-10-23 at 09:51 -0400, lenny at edpausa.com wrote:
> "/usr/include/sys/resource.h", line 126: incomplete struct/union/enum
> timeval: ru_utime

Try changing src/lib/file-set-size.c:

a) Remove #define _XOPEN_SOURCE 600 line. Does it compile now?

b) Add #include <sys/time.h> before #include <unistd.h> (but keep the
_XOPEN_SOURCE line). Does it compile now?

It compiles fine with Solaris 10+cc, so I'm guessing there's something
broken in 9.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071023/ebfb79d5/attachment-0001.bin 


More information about the dovecot mailing list