summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix-current/patches/patch-ab')
-rw-r--r--mail/postfix-current/patches/patch-ab23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/postfix-current/patches/patch-ab b/mail/postfix-current/patches/patch-ab
new file mode 100644
index 00000000000..34c044ab034
--- /dev/null
+++ b/mail/postfix-current/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.5 2004/03/06 15:08:32 grant Exp $
+
+--- src/lmtp/lmtp.h.orig 2003-09-10 02:48:03.000000000 +0200
++++ src/lmtp/lmtp.h 2004-01-20 20:30:12.000000000 +0100
+@@ -11,10 +11,18 @@
+ /*
+ * SASL library.
+ */
++#ifdef USE_SASL2_AUTH
++#ifndef USE_SASL_AUTH
++#define USE_SASL_AUTH
++#endif
++#include <sasl/sasl.h>
++#include <sasl/saslutil.h>
++#else
+ #ifdef USE_SASL_AUTH
+ #include <sasl.h>
+ #include <saslutil.h>
+ #endif
++#endif
+
+ /*
+ * Utility library.