setenv() undeclared on Solaris

Derek Atkins warlord@MIT.EDU
16 Nov 2001 22:33:08 -0500


I get this error from cvs-current on Solaris:

gnc-module.c:129: implicit declaration of function `setenv'

Moreover, setenv is not defined in any header file, nor is it actually
defined in libc!  Solaris does have putenv...  If we're going to
depend on setenv() then we should supply one for platforms that need
it (like Solaris).

Sorry, no patch here.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available