summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam/include-sys-resource.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam/libpam/include-sys-resource.patch')
-rw-r--r--meta/recipes-extended/pam/libpam/include-sys-resource.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam/include-sys-resource.patch b/meta/recipes-extended/pam/libpam/include-sys-resource.patch
new file mode 100644
index 0000000000..0108a889a9
--- /dev/null
+++ b/meta/recipes-extended/pam/libpam/include-sys-resource.patch
@@ -0,0 +1,12 @@
1Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
2===================================================================
3--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:37:44.881136025 -0700
4+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:38:00.601136785 -0700
5@@ -47,6 +47,7 @@
6 #include <time.h> /* for time() */
7 #include <errno.h>
8 #include <sys/wait.h>
9+#include <sys/resource.h>
10
11 #include <security/_pam_macros.h>
12