Needed to fix table-ldap on OpenBSD, as explained in <[email protected]> --- aldap.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/aldap.c b/aldap.c index 460f7e2..229cf95 100644 --- a/aldap.c +++ b/aldap.c @@ -33,7 +33,15 @@ #include <tls.h> #include <unistd.h> -#include <event.h> +/* + * OpenSMTPD: when importing new aldap versions, change the event.h include to + * event2/buffer.h and event2/buffer_compat.h, as on OpenBSD the incompatible + * libevent 1.4 header from base will otherwise be used, causing hard to debug + * issues like shown in + * https://www.mail-archive.com/search?l=mid&q=DJLMO9IZMOHC.1ECTCCIAA1UAM%40pappacoda.it + */ +#include <event2/buffer.h> +#include <event2/buffer_compat.h> #include "aldap.h" -- 2.53.0
