diff options
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r-- | gcc/prefix.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c index 09f4f193c4e..f270172e5fa 100644 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -64,29 +64,18 @@ Boston, MA 02111-1307, USA. */ #include "config.h" -#include "gansidecl.h" #ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> #endif - -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif - -#ifdef HAVE_STRING_H -#include <string.h> -#else -#ifdef HAVE_STRINGS_H -#include <strings.h> -#endif -#endif - +#include "system.h" #ifdef _WIN32 #include <windows.h> #endif +#include "gansidecl.h" + static char *get_key_value PROTO((char *)); static char *translate_name PROTO((char *)); static char *concat PVPROTO((char *, ...)); @@ -97,8 +86,6 @@ static char *lookup_key PROTO((char *)); static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE; #endif -extern char *getenv (); - /* Given KEY, as above, return its value. */ static char * |