summaryrefslogtreecommitdiff
path: root/libiberty/getcwd.c
diff options
context:
space:
mode:
authorRodney Brown <RodneyBrown@pmsc.com>2000-07-26 17:29:55 -0600
committerJeff Law <law@gcc.gnu.org>2000-07-26 17:29:55 -0600
commit73aa9564f6f64f2e70a38e642f9c3536ba9aecf7 (patch)
treee0cdfa2d7d7fa106430d32f9e08f44c75d29325d /libiberty/getcwd.c
parentc2f275e484523e8a63d6751473d59c6fc63e0f74 (diff)
downloadgcc-73aa9564f6f64f2e70a38e642f9c3536ba9aecf7.tar.gz
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
Diffstat (limited to 'libiberty/getcwd.c')
-rw-r--r--libiberty/getcwd.c6
1 files changed, 6 insertions, 0 deletions
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 <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;