summaryrefslogtreecommitdiff
path: root/databases/nss_ldap/patches/patch-ab
blob: 7187102d58e55a4f0f69f62a8625a4094b88e0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.3 2010/10/29 13:47:11 adam Exp $

--- ldap-nss.c.orig	2009-11-06 10:28:08.000000000 +0000
+++ ldap-nss.c
@@ -33,6 +33,7 @@ static char rcsId[] =
 #include <pthread.h>
 #endif
 
+#include <sys/param.h> /* for PATH_MAX */
 #include <assert.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -1256,8 +1257,6 @@ do_init (void)
     __pid = pid;
   else
     __libc_once (__once, do_atfork_setup);
-#else
-  __pid = pid;
 #endif
 
   __euid = euid;