summaryrefslogtreecommitdiff
path: root/system/linux-pam/libpam-fix-build-with-eglibc-2.16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/linux-pam/libpam-fix-build-with-eglibc-2.16.patch')
-rw-r--r--system/linux-pam/libpam-fix-build-with-eglibc-2.16.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/linux-pam/libpam-fix-build-with-eglibc-2.16.patch b/system/linux-pam/libpam-fix-build-with-eglibc-2.16.patch
new file mode 100644
index 000000000..1a0716598
--- /dev/null
+++ b/system/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>
+