programs/winecfg/winecfg.c and setkey()

Gerald Pfeifer gerald at
Sat Oct 16 08:19:05 CDT 2004

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?

Gerald Pfeifer (Jerry)   gerald at

More information about the wine-devel mailing list