diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 23:29:55 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 23:29:55 +0000 |
commit | 98b4c19704905a5539ad9b7faa7d77e8b29b78d6 (patch) | |
tree | e0cdfa2d7d7fa106430d32f9e08f44c75d29325d /libiberty/getcwd.c | |
parent | a1d4f79a96eef8097e4f6c3315a6195adc0406d7 (diff) | |
download | gcc-98b4c19704905a5539ad9b7faa7d77e8b29b78d6.tar.gz |
* getcwd.c: Include string.h, stdlib.h for prototypes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35273 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/getcwd.c')
-rw-r--r-- | libiberty/getcwd.c | 6 |
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; |