Commit 73aa9564 by Rodney Brown Committed by Jeff Law

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
parent c2f275e4
2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
Jeff Law <law@cygnus.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 * Makefile.in (rename.o, waitpid.o): Depend on config.h
* rename.c: include config.h, unistd.h * rename.c: Include config.h, unistd.h
* waitpid.c: include config.h, sys/wait.h * waitpid.c: Include config.h, sys/wait.h
2000-07-21 Alex Samuel <samuel@codesourcery.com> 2000-07-21 Alex Samuel <samuel@codesourcery.com>
......
...@@ -29,6 +29,12 @@ BUGS ...@@ -29,6 +29,12 @@ BUGS
#include <sys/param.h> #include <sys/param.h>
#endif #endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
extern char *getwd (); extern char *getwd ();
extern int errno; extern int errno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment