diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index d996712cbdd..4790fc31fa1 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,9 +1,11 @@ 2000-07-27 RodneyBrown Jeff Law + * 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 diff --git a/libiberty/getcwd.c b/libiberty/getcwd.c index 47b1c1eec31..344556392b3 100644 --- a/libiberty/getcwd.c +++ b/libiberty/getcwd.c @@ -29,6 +29,12 @@ BUGS #include #endif #include +#ifdef HAVE_STRING_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif extern char *getwd (); extern int errno;