Patch for Dovecot 2.2.19 compilation failure

Hammer, Adam jah at purdue.edu
Thu Nov 5 22:21:10 UTC 2015


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