summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-07-14 17:32:02 +0000
committerRichard Henderson <rth@redhat.com>1999-07-14 17:32:02 +0000
commit8cf9f4c372c8037046f91636fe820278ed3c7935 (patch)
tree88d64c4e2dd96895f2affbb61b95308e3af0bc34 /libiberty/choose-temp.c
parent05e25685ffdd323f4c8f0167546f1a9d9ee70de1 (diff)
downloadgdb-8cf9f4c372c8037046f91636fe820278ed3c7935.tar.gz
* argv.c: Include stdlib.h and string.h instead of
prototyping directly. * choose-temp.c: Conditionally include string.h.
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 49c73869155..7aae318f9eb 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