summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-ak
blob: ee2623e621facbe99ca4e9935a69b65dc19d3177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ak,v 1.1.1.1 2000/10/21 18:41:54 rh Exp $

--- modules/pam_ftp/pam_ftp.c.orig	Sat Oct 21 11:54:46 2000
+++ modules/pam_ftp/pam_ftp.c
@@ -17,7 +17,10 @@
 #define _GNU_SOURCE
 #define _BSD_SOURCE
 
+#include <sys/param.h>
+#if (!defined(BSD) || BSD < 199306)
 #include <features.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>