summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-ac
blob: ce2d6c65faae92c087ba5047c12f6c46c0cdbad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ac,v 1.6 2004/01/20 19:37:45 martin Exp $

--- src/smtp/smtp.h.orig	2002-05-23 21:18:02.000000000 +0200
+++ src/smtp/smtp.h	2004-01-20 20:29:21.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.