getcwd.c: Include string.h, stdlib.h for prototypes

* getcwd.c: Include string.h, stdlib.h for prototypes

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r35273
This commit is contained in:
Rodney Brown 2000-07-26 17:29:55 -06:00 committed by Jeff Law
parent c2f275e484
commit 73aa9564f6
2 changed files with 10 additions and 2 deletions

View File

@ -1,9 +1,11 @@
2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
Jeff Law <law@cygnus.com>
* getcwd.c: Include string.h, stdlib.h for prototypes
* Makefile.in (rename.o, waitpid.o): Depend on config.h
* rename.c: include config.h, unistd.h
* waitpid.c: include config.h, sys/wait.h
* rename.c: Include config.h, unistd.h
* waitpid.c: Include config.h, sys/wait.h
2000-07-21 Alex Samuel <samuel@codesourcery.com>

View File

@ -29,6 +29,12 @@ BUGS
#include <sys/param.h>
#endif
#include <errno.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
extern char *getwd ();
extern int errno;