Patch for Dovecot 2.2.19 compilation failure

Teemu Huovila teemu.huovila at dovecot.fi
Fri Nov 6 08:59:44 UTC 2015


Contributions of all sizes are appreciated. Thank you.

br,
Teemu Huovila

On 06.11.2015 00:21, Hammer, Adam wrote:
> I’m almost embarrassed to submit the following patch.
> 
> ==== cut here ====
> 
> --- dovecot-2.2.19/src/lib/bits.h.orig  Thu Mar 19 08:42:32 2015
> +++ dovecot-2.2.19/src/lib/bits.h       Thu Nov  5 15:10:35 2015
> @@ -10,7 +10,9 @@
>  
>  #include <limits.h>
>  #include <stddef.h>
> -#include <stdint.h>
> +#ifdef HAVE_STDINT_H
> +#  include <stdint.h>
> +#endif
>  
>  #define UINT64_SUM_OVERFLOWS(a, b) \
>         (a > (uint64_t)-1 - b)
> 
> 


More information about the dovecot mailing list