aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/divrem.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/divrem.m4')
-rw-r--r--sysdeps/sparc/divrem.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/divrem.m4 b/sysdeps/sparc/divrem.m4
index bde8a21..cada804 100644
--- a/sysdeps/sparc/divrem.m4
+++ b/sysdeps/sparc/divrem.m4
@@ -83,11 +83,15 @@ L.$1.eval(2**N+$2):
ifelse($1, 1, `9:')')dnl
#include "DEFS.h"
+#ifdef __linux__
+#include <asm/traps.h>
+#else
#ifdef __svr4__
#include <sys/trap.h>
#else
#include <machine/trap.h>
#endif
+#endif
FUNC(NAME)
ifelse(S, `true',