Subject: Re: OOo binary package on 1.6.2
To: None <tech-pkg@netbsd.org>
From: Michael Rauch <mrauch@NetBSD.org>
List: tech-pkg
Date: 06/05/2004 19:03:51
Hi, 

On Fri, Jun 04, 2004 at 10:32:05PM +0200, Richard Braun wrote:
> OK, it seems that OOo isn't available for NetBSD 1.6.2 because it
> lacks readdir_r() (reentrant readdir()). I give up :-).

that's not a problem: There's an implementation in sal
(sal/osl/unx/system.c), it's just not included in any header file.
Putting a declaration

#if defined(NETBSD)
#ifdef __cplusplus
extern "C" {
#endif
int readdir_r( DIR *dirp, struct dirent *entry, struct dirent **result )
#ifdef __cplusplus
}
#endif
#endif

on the top of the file should solve the problem.


Michael