From 3d9d57f071a69c10b618270f50a36ff810725c94 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Tue, 11 Dec 2001 07:41:39 +0000 Subject: Relevant BUGIDs: 486063 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Purpose of commit: compatibility Commit summary: --------------- A BSD fix from Dag-Erling Smørgrav and Anton Berezin. What was there before did not correctly deal with BSD dynamic linking. --- CHANGELOG | 5 ++++- libpam/pam_handlers.c | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f9bb5f80..a2c050ba 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -55,6 +55,8 @@ bug report - outstanding bugs are listed here: 0.76: please submit patches for this section with actual code/doc patches! +* pam_handlers: BSD fix from Dag-Erling Smørgrav and Anton Berezin + (Bug 486063 - agmorgan) * added the dynamic/* directory to the distribution. If you go in there after building the rest of the tree, you'll make a pam.so object that can be used by something like a java runtime with @@ -65,7 +67,8 @@ bug report - outstanding bugs are listed here: 486361 - agmorgan). * added a static module helper library object includes a few changes to examples/xsh.c for testing purposes, and also modified the - pam_rhosts_auth module to use this new library. (Bug 490938 - agmorgan) + pam_rhosts_auth module to use this new library. (Bug 490938, + 409852 - agmorgan) * documentation: random typo fixes from Nalin and more stuff from me (Bug 476949, Tasks 43507, 17426 - agmorgan) * pam_unix: fix 'likeauth' to kill off the memory leak once and for all. diff --git a/libpam/pam_handlers.c b/libpam/pam_handlers.c index d007ed98..62b7446c 100644 --- a/libpam/pam_handlers.c +++ b/libpam/pam_handlers.c @@ -13,6 +13,9 @@ #include #include #include +#include +#include + #ifdef PAM_DYNAMIC # ifdef PAM_SHL # include @@ -20,8 +23,6 @@ # include # endif /* PAM_SHL */ #endif /* PAM_DYNAMIC */ -#include -#include #include "pam_private.h" -- cgit v1.2.3