]> gcc.gnu.org Git - gcc.git/commitdiff
getcwd.c: Include string.h, stdlib.h for prototypes
authorRodney Brown <RodneyBrown@pmsc.com>
Wed, 26 Jul 2000 23:29:55 +0000 (17:29 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 26 Jul 2000 23:29:55 +0000 (17:29 -0600)
        * getcwd.c: Include string.h, stdlib.h for prototypes

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

libiberty/ChangeLog
libiberty/getcwd.c

index d996712cbdd7c605f87ec2ebd0a787549281e169..4790fc31fa143f70a1be1dd9a07239368a6136bb 100644 (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>
 
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;
This page took 0.076744 seconds and 5 git commands to generate.