Include correct headers for getrlimit. OBS-URL: https://build.opensuse.org/request/show/125670 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=90
26 lines
817 B
Diff
26 lines
817 B
Diff
Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
|
|
===================================================================
|
|
--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c
|
|
+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
|
|
@@ -47,6 +47,8 @@
|
|
#include <time.h> /* for time() */
|
|
#include <errno.h>
|
|
#include <sys/wait.h>
|
|
+#include <sys/time.h>
|
|
+#include <sys/resource.h>
|
|
|
|
#include <security/_pam_macros.h>
|
|
|
|
Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c
|
|
===================================================================
|
|
--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_passwd.c
|
|
+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c
|
|
@@ -54,6 +54,7 @@
|
|
#include <ctype.h>
|
|
#include <sys/time.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/resource.h>
|
|
|
|
#include <signal.h>
|
|
#include <errno.h>
|