summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Bajić <stevan@bajic.ch>2012-07-09 09:43:11 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2012-07-09 09:45:01 +0200
commit8e508f23bf5ed727649c99bbd540f7b1c2c2bd35 (patch)
tree984e63834869f722d9197a2130b5675613838e41
parent333aa74b2679ff786559994689ed149f5fd648a1 (diff)
RLIMIT_* variables are no longer defined unless you explicitly include
sys/resource.h. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> modules/pam_unix/pam_unix_acct.c: Include sys/resource.h.
-rw-r--r--modules/pam_unix/pam_unix_acct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c
index 8e90cc9a..4a362f88 100644
--- a/modules/pam_unix/pam_unix_acct.c
+++ b/modules/pam_unix/pam_unix_acct.c
@@ -41,6 +41,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
+#include <sys/resource.h>
#include <syslog.h>
#include <pwd.h>
#include <shadow.h>