Subject: Re: libxslt needs -D_REENTRANT
To: None <>
From: Joerg Sonnenberger <>
List: pkgsrc-users
Date: 01/23/2007 16:24:31
On Mon, Jan 22, 2007 at 03:38:32AM -0500, Blair Sadewitz wrote:
> localtime_r is reported as implicitly defined in libexslt/date.c.  The
> libxslt headers do pull in the function declaration unless
> -D_REENTRANT is defined (I figure this was the least intrusive
> option).

This is wrong. localtime_r is a normal POSIX function and does not need
_REENTRANT for itself. What is the value of _POSIX_C_SOURCE or
_XOPEN_SOURCE at the time of include for time.h?