From 7053ca7275d7b38677e7813677ed1e00d98f1c7d Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 4 Sep 1997 18:54:16 +0000 Subject: [PATCH] Fix minor bugs found by riscos build attempt. * tlink.c: Include ctype.h. * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif. From-SVN: r15080 --- gcc/ChangeLog | 5 +++++ gcc/ginclude/va-mips.h | 3 +++ gcc/tlink.c | 1 + 3 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3144f810f8f..d3bec9db405 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 4 11:51:43 1997 Jim Wilson + + * tlink.c: Include ctype.h. + * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif. + Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com) * bitmap.c: Conditionally include stdlib.h. diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index af1e1f461b6..a622199388e 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.h @@ -35,6 +35,8 @@ typedef char * __gnuc_va_list; __gnuc_va_list. */ #if defined (_STDARG_H) || defined (_VARARGS_H) +#ifndef _VA_MIPS_H_ENUM +#define _VA_MIPS_H_ENUM enum { __no_type_class = -1, __void_type_class, @@ -57,6 +59,7 @@ enum { __file_type_class, __lang_type_class }; +#endif /* In GCC version 2, we want an ellipsis at the end of the declaration of the argument list. GCC version 1 can't parse it. */ diff --git a/gcc/tlink.c b/gcc/tlink.c index 77b7875c193..9f673b9f17d 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -22,6 +22,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include +#include #include "config.h" #include "hash.h" #include "demangle.h" -- 2.30.2