summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/xm-sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/xm-sysv4.h')
-rw-r--r--gcc/config/rs6000/xm-sysv4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rs6000/xm-sysv4.h b/gcc/config/rs6000/xm-sysv4.h
index 5089c7dd467..f892f9e1857 100644
--- a/gcc/config/rs6000/xm-sysv4.h
+++ b/gcc/config/rs6000/xm-sysv4.h
@@ -51,6 +51,9 @@ Boston, MA 02111-1307, USA. */
/* if not compiled with GNU C, use the C alloca and use only int bitfields. */
#ifndef __GNUC__
#define USE_C_ALLOCA
+#ifdef __STDC__
+extern void *alloca ();
+#else
extern char *alloca ();
#undef ONLY_INT_FIELDS
#define ONLY_INT_FIELDS