Minor fixups to port to Solaris 10 with Sun C 5.8.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Feb 2007 07:54:16 +0000 (07:54 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Feb 2007 07:54:16 +0000 (07:54 +0000)
commitd691dc95255e598552049fa9d121a6f84cf36568
tree0e59c3fce92c5860fdc4f841402349e4830f0b71
parent3794c782f356431416d73c7e98727ac96d1b5fc9
Minor fixups to port to Solaris 10 with Sun C 5.8.
* lib/getcwd.c [!_LIBC]: Include dirfd.h, since we use dirfd.
* modules/getcwd (Depends-on): Add dirfd.
* lib/putenv.c (putenv): #undef it.
(rpl_putenv): New decl.
(malloc, free): Include <stdlib.h> rather than prototyping separately.
ChangeLog
lib/getcwd.c
lib/putenv.c
modules/getcwd