summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-14 17:29:38 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-14 17:29:38 +0000
commitdb081298232dca56a29f7d6c719230113659aadf (patch)
treea5d5c3e0b6738786023c62965667754c92cc8bdc /libiberty/choose-temp.c
parent7ce786d141abf0e40bd45507173aee1a7c4eb553 (diff)
downloadgcc-db081298232dca56a29f7d6c719230113659aadf.tar.gz
* argv.c: Include stdlib.h and string.h instead of
prototyping directly. * choose-temp.c: Conditionally include string.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28099 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/choose-temp.c')
-rw-r--r--libiberty/choose-temp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c
index b1007bb546b..be023791d4c 100644
--- a/libiberty/choose-temp.c
+++ b/libiberty/choose-temp.c
@@ -34,6 +34,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
#endif