summaryrefslogtreecommitdiff
path: root/libiberty/pexecute.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r--libiberty/pexecute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c
index 56ddec78dd8..f1aea9db7f0 100644
--- a/libiberty/pexecute.c
+++ b/libiberty/pexecute.c
@@ -35,6 +35,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#define ISSPACE (x) isspace(x)
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>