aboutsummaryrefslogtreecommitdiff
path: root/gcc/pexecute.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/pexecute.c')
-rw-r--r--gcc/pexecute.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/pexecute.c b/gcc/pexecute.c
index f9690e4..38b5874 100644
--- a/gcc/pexecute.c
+++ b/gcc/pexecute.c
@@ -29,6 +29,9 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <errno.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef IN_GCC
#include "gansidecl.h"
@@ -637,6 +640,9 @@ pfinish ()
extern int execv ();
extern int execvp ();
+#ifdef IN_GCC
+extern char * my_strerror();
+#endif
int
pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)