summaryrefslogtreecommitdiff
path: root/modules/pam_unix/yppasswd.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-10-10 18:13:07 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-10-10 18:13:07 +0000
commit0603b28023ebe44151466bfb33c60687922e0b0b (patch)
treed2d4932144b3ca3af0688b7a60e65bcf7d281b42 /modules/pam_unix/yppasswd.h
parentfbcbb0e302b0c7561e565531b47fba9477b238ba (diff)
pam_unix: fix build in --enable-selinux mode
glibc's <sys/wait.h> starting with commit http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=glibc-2.15-231-gd94a467 does not include <sys/resource.h> 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 <sys/resource.h> without relying on other headers. * modules/pam_unix/pam_unix_passwd.c: Include <sys/resource.h>. Reported-by: Guido Trentalancia <guido@trentalancia.com> Reported-by: "Jory A. Pratt" <anarchy@gentoo.org> Reported-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Diffstat (limited to 'modules/pam_unix/yppasswd.h')
0 files changed, 0 insertions, 0 deletions