Re: build break: gnome-keyring



Mark, gnome-panel needs this too, to avoid 

panel-run-dialog.c:377: warning: implicit declaration of function
'strcasecmp'

On Fri, 2005-07-15 at 13:32 +0200, Murray Cumming wrote:
> On Fri, 2005-07-15 at 12:13 +0100, Ross Burton wrote:
> > On Fri, 2005-07-15 at 11:59 +0200, Murray Cumming wrote:
> > > Yes, this is Ubuntu Breezy (unstable).
> > > 
> > > Using readlink() in a tiny C test case works, but it doesn't work in
> > > that file even if I put it right at the top after the #include
> > > <unistd.h>. I guess some other unistd.h is being picked up, or some
> > > define is being set somewhere.
> > 
> > readlink() is X/OPEN and BSD, I bet some header or pkg-config file is
> > changing the code expected.
> > 
> > Try adding AC_GNU_SOURCE to configure.in.
> 
> I don't understand how, but that fixed it. Alex, may I commit that?
> 
-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]