summaryrefslogtreecommitdiffstats
path: root/libiberty/choose-temp.c
diff options
context:
space:
mode:
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 c295ca15b2a..49c73869155 100644
--- a/libiberty/choose-temp.c
+++ b/libiberty/choose-temp.c
@@ -31,6 +31,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
#endif
OpenPOWER on IntegriCloud