summaryrefslogtreecommitdiff
path: root/databases/nss_ldap/patches/patch-ab
blob: 470ccd907ddd68695ca9f803cea35fb2f6b4e586 (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.2 2008/04/01 01:39:24 taca Exp $

--- ldap-nss.c.orig	2008-03-04 19:05:12.000000000 +0900
+++ ldap-nss.c	2008-03-31 13:28:07.000000000 +0900
@@ -33,6 +33,7 @@
 #include <pthread.h>
 #endif
 
+#include <sys/param.h> /* for PATH_MAX */
 #include <assert.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -1258,8 +1259,6 @@
     __pid = pid;
   else
     __libc_once (__once, do_atfork_setup);
-#else
-  __pid = pid;
 #endif
 
   __euid = euid;