From 0603b28023ebe44151466bfb33c60687922e0b0b Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 10 Oct 2012 18:13:07 +0000 Subject: pam_unix: fix build in --enable-selinux mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit glibc's starting with commit http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=glibc-2.15-231-gd94a467 does not include for POSIX 2008 conformance reasons, so when pam is being built with SELinux support enabled, pam_unix_passwd.c uses getrlimit(2) and therefore should include without relying on other headers. * modules/pam_unix/pam_unix_passwd.c: Include . Reported-by: Guido Trentalancia Reported-by: "Jory A. Pratt" Reported-by: Diego Elio Pettenò --- modules/pam_unix/pam_unix_passwd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c index 9e1302d5..94bc3ec8 100644 --- a/modules/pam_unix/pam_unix_passwd.c +++ b/modules/pam_unix/pam_unix_passwd.c @@ -58,6 +58,7 @@ #include #include #include +#include #include -- cgit v1.2.3