aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-09-04 18:54:16 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-09-04 11:54:16 -0700
commit7053ca7275d7b38677e7813677ed1e00d98f1c7d (patch)
tree97f49545b7637a17b92ff78fcf1314adc7774b86 /gcc
parentf05a8b2501826e4506443f0c6145b7ed7100401b (diff)
downloadgcc-7053ca7275d7b38677e7813677ed1e00d98f1c7d.zip
gcc-7053ca7275d7b38677e7813677ed1e00d98f1c7d.tar.gz
gcc-7053ca7275d7b38677e7813677ed1e00d98f1c7d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ginclude/va-mips.h3
-rw-r--r--gcc/tlink.c1
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3144f81..d3bec9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
+
+ * 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 af1e1f4..a622199 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 77b7875..9f673b9 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 <stdio.h>
+#include <ctype.h>
#include "config.h"
#include "hash.h"
#include "demangle.h"