summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-ah
blob: a936e20ba7c1c006a1512ab3ac218c21bdc59888 (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.3 2004/03/06 15:08:32 grant 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.