summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/_math_inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/_math_inc.h')
-rw-r--r--libc/sysdeps/linux/sparc/_math_inc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/_math_inc.h b/libc/sysdeps/linux/sparc/_math_inc.h
index f08aa5869..1bf84f04e 100644
--- a/libc/sysdeps/linux/sparc/_math_inc.h
+++ b/libc/sysdeps/linux/sparc/_math_inc.h
@@ -7,7 +7,9 @@
#include <bits/wordsize.h>
#define __ASSEMBLY__
+#ifndef __sparc_v9__
#include <asm/traps.h>
+#endif
/* Is alignment really needed? */