summaryrefslogtreecommitdiff
blob: cddda35fbeb999ea41588fb22c5ed7b74f875667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 18da0c4763f5e079f8b2df45fa462b0b70b6fd3a Mon Sep 17 00:00:00 2001
From: "Jory A. Pratt" <anarchy@gentoo.org>
Date: Sun, 7 Oct 2012 11:44:17 -0700
Subject: [PATCH] Fix building with GLIBC 2.16 and SELinux.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
 modules/pam_unix/pam_unix_passwd.c | 1 +
 1 file modificato, 1 inserzione(+)

diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index 9e1302d..b5f5ae9 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -46,6 +46,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sys/types.h>
+#include <sys/resource.h>
 #include <pwd.h>
 #include <syslog.h>
 #include <shadow.h>
-- 
1.7.12