From 82eec0110d962d11bf18cb3e83c1779af057d4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 24 May 2003 18:33:26 +0000 Subject: [PATCH] Make this build on glibc systems. Submitted by: Dmitry V. Levin git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@225 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- modules/pam_unix/pam_unix.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/pam_unix/pam_unix.c b/modules/pam_unix/pam_unix.c index ddcd81b..e214d65 100644 --- a/modules/pam_unix/pam_unix.c +++ b/modules/pam_unix/pam_unix.c @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $ + * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 $ */ #include @@ -42,6 +42,10 @@ #include #include +#ifdef __GLIBC__ +#include +#endif + #include #include