aboutsummaryrefslogtreecommitdiff
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
commit35ca97eacf6fe7a2660974c6018a4e1452e8ff32 (patch)
tree5d6a216cae81d6a4361fd90bdf7680f631034159 /libiberty/choose-temp.c
parentc235b8f82492cf91a63e4d0d506b926eb2ef2c28 (diff)
downloadgdb-35ca97eacf6fe7a2660974c6018a4e1452e8ff32.zip
gdb-35ca97eacf6fe7a2660974c6018a4e1452e8ff32.tar.gz
gdb-35ca97eacf6fe7a2660974c6018a4e1452e8ff32.tar.bz2
* 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 49c7386..7aae318 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