https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
> (In reply to Andreas Schwab from comment #5)
>> Why is HAVE_DECL_BASENAME not defined?
[...]
> It seems that the second test does not #include <libgen.h> so maybe that will
> fix this.
>
> Rainer, do you see the same on Solaris?

I do: basename lives in libc as expected, but is only declared in
<libgen.h> (as required by POSIX.1).

Reply via email to