pam/pam-1.1.6-glibc-2.16.patch

30 lines
824 B
Diff
Raw Normal View History

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