pkgsrc/databases/nss_ldap/patches/patch-ldap-pwd.c
asau 5d956b0af9 FreeBSD uses NetBSD-derived nsdispatch.
Cram FreeBSD support in with some force using some knowledge
picked from FreeBSD ports collection.
Not yet tested in field.
2014-06-01 19:38:10 +00:00

11 lines
277 B
C

$NetBSD: patch-ldap-pwd.c,v 1.1 2014/06/01 19:38:10 asau Exp $
--- ldap-pwd.c.orig 2009-11-06 10:28:08.000000000 +0000
+++ ldap-pwd.c
@@ -23,2 +23,6 @@ static char rcsId[] =
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <unistd.h>
+#endif
#include "config.h"