* getcwd.c: Include string.h, stdlib.h for prototypes
authorJeff Law <law@redhat.com>
Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)
committerJeff Law <law@redhat.com>
Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)
libiberty/ChangeLog
libiberty/getcwd.c

index 5ac849099b19c0fd39d0d55516f2db52180e9ed3..9acd322846c278c013395b762d2a0c24acaca2c0 100644 (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
index 47b1c1eec31e1c680bbb5deb42efb07e84f6a3f6..344556392b31c0fab62f2c859392b0211d48581e 100644 (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;