summaryrefslogtreecommitdiff
path: root/security/apg/patches/patch-ab
blob: 74aae0965caed1324b03ae8943a323ca1af14703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $

--- apg.c.orig	Thu Feb 22 12:00:10 2001
+++ apg.c
@@ -35,6 +35,9 @@
 #include <strings.h>
 #include <string.h>
 #include <time.h>
+#ifdef __NetBSD__
+#include <unistd.h>
+#endif
 #define MAX_MODE_LENGTH   5
 
 #ifndef _XOPEN_SOURCE