aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch')
-rw-r--r--main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch b/main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch
new file mode 100644
index 0000000000..1a0716598e
--- /dev/null
+++ b/main/linux-pam/libpam-fix-build-with-eglibc-2.16.patch
@@ -0,0 +1,10 @@
+--- Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c.orig
++++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
+@@ -47,6 +47,7 @@
+ #include <time.h> /* for time() */
+ #include <errno.h>
+ #include <sys/wait.h>
++#include <sys/resource.h>
+
+ #include <security/_pam_macros.h>
+