programs/winecfg/winecfg.c and setkey()

Vincent Béron vberon at
Sat Oct 16 11:27:20 CDT 2004

Le sam 16/10/2004 à 09:19, Gerald Pfeifer a écrit :
> programs/winecfg/winecfg.c now defines a function called setkey().
> This same function also appears in stdlib.h and unistd.h on FreeBSD 5.x
> systems, so the build on these platforms fails with
>    winecfg.c:136: error: conflicting types for `setkey'
>    /usr/include/stdlib.h:211: error: previous declaration of `setkey'
> (How) can we address this in Wine?

_Guhit (from IRC) hit that too and Mike M told him to rename winecfg's
setkey to WINE_setkey (same thing for getkey). His patch should hit
wine-patches soon.


More information about the wine-devel mailing list