fix compilation of 4.0.18 without pam (groupmems)
Johannes Winkelmann <[email protected]> Wed, 2 Aug 2006 10:57:44 +0200
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, The attached fix is needed to compile groupmems when not using PAM (pwd.h was included only when shadow was configured with PAM). Regards, Johannes -- Johannes Winkelmann mailto:[email protected] Zurich, Switzerland http://jw.smts.ch --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="shadow-4.0.18-groupmems-nopam.diff" --- shadow-4.0.18.orig/src/groupmems.c 2006-07-23 21:19:22.000000000 +0200 +++ shadow-4.0.18/src/groupmems.c 2006-08-02 10:53:10.087940008 +0200 @@ -37,8 +37,8 @@ #include <sys/types.h> #ifdef USE_PAM #include "pam_defs.h" -#include <pwd.h> #endif /* USE_PAM */ +#include <pwd.h> #include "defines.h" #include "groupio.h" --T4sUOijqQbZv57TR Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline