Re: Re: Announcing bglibs version 1.024

ed <[email protected]> Sat, 16 Jul 2005 00:08:12 +0100
Newsgroups gmane.comp.sysutils.bgware
Organization the triads
Message-ID <20050716000812.0cff07d7@workstation>
On Fri, 15 Jul 2005 18:26:50 -0400
Amitai Schlair <[email protected]> wrote:

> > ./compile bg-installer.c
> > bg-installer.c:156: error: conflicting types for `setmode'
> > /usr/include/unistd.h:337: error: previous declaration of `setmode'
> >
> > That previous declaration is:
> >
> > void    *setmode __P((const char *));
> >
> > 1.019 was the last version I looked at, and it built fine. (Sorry I 
> > haven't been keeping up.) What's the best workaround?
> 
> My workaround (this should help the OpenBSD user as well): rename all 
> occurrences of "setmode" in bg-installer.c to "bgsetmode".

Compiles cleanly now, thanks.

-- 
http://edd.link9.net - http://irc.is-cool.net