$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>
