aboutsummaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc/gcc.c')
-rw-r--r--gnu/usr.bin/cc/cc/gcc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/usr.bin/cc/cc/gcc.c b/gnu/usr.bin/cc/cc/gcc.c
index 4223d23f62bd..7522b433a2f5 100644
--- a/gnu/usr.bin/cc/cc/gcc.c
+++ b/gnu/usr.bin/cc/cc/gcc.c
@@ -35,6 +35,7 @@ compilation is specified by a string called a "spec". */
#include <signal.h>
#include <sys/stat.h>
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
+#include <sys/errno.h>
#include "config.h"
#include "obstack.h"
@@ -103,9 +104,6 @@ compilation is specified by a string called a "spec". */
extern void free ();
extern char *getenv ();
-extern int errno, sys_nerr;
-extern char *sys_errlist[];
-
extern int execv (), execvp ();
/* If a stage of compilation returns an exit status >= 1,
@@ -1181,7 +1179,7 @@ static char *standard_startfile_prefix_1 = "/lib/";
static char *standard_startfile_prefix_2 = "/usr/lib/";
#ifndef TOOLDIR_BASE_PREFIX
-#define TOOLDIR_BASE_PREFIX "/usr/local/"
+#define TOOLDIR_BASE_PREFIX "/usr/libexec/"
#endif
static char *tooldir_base_prefix = TOOLDIR_BASE_PREFIX;
static char *tooldir_prefix;