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

This commit is contained in:
Jeff Law 2000-07-26 23:30:27 +00:00
parent 90aaccd1f2
commit 443519c1ec
2 changed files with 8 additions and 0 deletions

View file

@ -1,6 +1,8 @@
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

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;