about summary refs log tree commit diff
path: root/sysdeps/sparc/udiv.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/udiv.S')
-rw-r--r--sysdeps/sparc/udiv.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/udiv.S b/sysdeps/sparc/udiv.S
index 826d01183d..252afd0193 100644
--- a/sysdeps/sparc/udiv.S
+++ b/sysdeps/sparc/udiv.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(.udiv)