pkgsrc/mail/postfix-current/patches/patch-ah
martti 6d2680bd70 Updated postfix-current to 2.2-20040628
* Sync with pkgsrc/mail/postfix
* Get rid of canonical_classes patch
* No IPv6 patch
2004-07-02 08:03:04 +00:00

23 lines
474 B
Text

$NetBSD: patch-ah,v 1.4 2004/07/02 08:03:04 martti Exp $
--- src/smtpd/smtpd.h.orig 2003-10-02 06:48:30.000000000 -0400
+++ src/smtpd/smtpd.h 2003-10-02 06:48:31.000000000 -0400
@@ -16,10 +16,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.