about summary refs log tree commit diff
path: root/sysdeps/sparc/urem.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/urem.S')
-rw-r--r--sysdeps/sparc/urem.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/urem.S b/sysdeps/sparc/urem.S
index 9f64c8859e..99a5acf40a 100644
--- a/sysdeps/sparc/urem.S
+++ b/sysdeps/sparc/urem.S
@@ -38,11 +38,15 @@
 
 
 #include "DEFS.h"
+#ifdef __linux__
+#include <asm/traps.h>
+#else
 #ifdef __svr4__
 #include <sys/trap.h>
 #else
 #include <machine/trap.h>
 #endif
+#endif
 
 FUNC(.urem)