summaryrefslogtreecommitdiff
path: root/src/m/sparc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m/sparc.h')
-rw-r--r--src/m/sparc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/m/sparc.h b/src/m/sparc.h
index 0deb1e39df7..da7af349fb2 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -82,9 +82,11 @@ NOTE-END */
in the file alloca.s should be used. */
#define HAVE_ALLOCA
+#ifndef NOT_C_CODE
#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */
#include <alloca.h>
#endif
+#endif
/* Must use the system's termcap, if we use any termcap.
It does special things. */