summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-ah
blob: d83dbe02eb5b11b17ed352327f39e1deb71a4ee1 (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-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.