Path: blob/main/mail/anubis/files/patch-src_headers.h
16462 views
--- src/headers.h.orig 2014-05-22 05:42:44 UTC1+++ src/headers.h2@@ -43,11 +43,11 @@3# define HAVE_PCRE4# endif /* HAVE_PCRE_H or HAVE_PCRE_PCRE_H */5# endif /* HAVE_LIBPCRE */6-# if defined(HAVE_LIBPAM) && defined(HAVE_LIBPAM_MISC)7-# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_PAM_MISC_H)8+# if defined(HAVE_LIBPAM)9+# if defined(HAVE_SECURITY_PAM_APPL_H) && defined(HAVE_SECURITY_OPENPAM_H)10# define HAVE_PAM11-# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_PAM_MISC_H */12-# endif /* HAVE_LIBPAM and HAVE_LIBPAM_MISC */13+# endif /* HAVE_SECURITY_PAM_APPL_H and HAVE_SECURITY_OPENPAM_H */14+# endif /* HAVE_LIBPAM */15# if defined(HAVE_LIBWRAP) && defined(HAVE_TCPD_H)16# define USE_LIBWRAP17# endif /* HAVE_LIBWRAP and HAVE_TCPD_H */18@@ -111,7 +111,7 @@1920#ifdef HAVE_PAM21# include <security/pam_appl.h>22-# include <security/pam_misc.h>23+# include <security/openpam.h>24#endif /* HAVE_PAM */2526#if defined(WITH_GSASL)272829