summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'security/PAM/patches/patch-as')
-rw-r--r--security/PAM/patches/patch-as15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/PAM/patches/patch-as b/security/PAM/patches/patch-as
new file mode 100644
index 00000000000..219cede6282
--- /dev/null
+++ b/security/PAM/patches/patch-as
@@ -0,0 +1,15 @@
+$NetBSD: patch-as,v 1.1.1.1 2000/10/21 18:41:54 rh Exp $
+
+--- modules/pam_userdb/pam_userdb.c.orig Sat Oct 21 14:34:30 2000
++++ modules/pam_userdb/pam_userdb.c
+@@ -9,7 +9,10 @@
+ #define _GNU_SOURCE
+ #define _BSD_SOURCE
+
++#include <sys/param.h>
++#ifndef BSD
+ #include <features.h>
++#endif
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>