Hi Bruno,
On 11 Jul 2010, at 18:11, Bruno Haible wrote:
>> I get a compilation failure in coreutils with the priv-set module
>> which correctly detects a getppriv() function, but then tries to use
>> it by including a non-existant header.
>>
>> From priv-set.h:
>>
>> #if HAVE_GETPPRIV
>>
>>
Hi Gary,
> I get a compilation failure in coreutils with the priv-set module
> which correctly detects a getppriv() function, but then tries to use
> it by including a non-existant header.
>
> From priv-set.h:
>
> #if HAVE_GETPPRIV
>
> # include
This was already fixed by Paul Eggert on 2
On 8 Jul 2010, at 21:55, Gary V. Vaughan wrote:
> I guess the solution is to add checks for ,
> headers and change priv-set.h to read as follows (or similar):
>
> #if HAVE_GETPPRIV
> # if HAVE_PRIV_H
> # include
> # else
> # if HAVE_SYS_TYPES_H
> # include
> # endif
> # if
I get a compilation failure in coreutils with the priv-set module
which correctly detects a getppriv() function, but then tries to use
it by including a non-existant header.
From priv-set.h:
#if HAVE_GETPPRIV
# include
From the aix manual page for getppriv:
Purpose
Gets a privi