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.S12
1 files changed, 10 insertions, 2 deletions
diff --git a/sysdeps/sparc/urem.S b/sysdeps/sparc/urem.S
index 7f6a0812bf..e72c33dd63 100644
--- a/sysdeps/sparc/urem.S
+++ b/sysdeps/sparc/urem.S
@@ -37,10 +37,18 @@
 
 
 
-#include "DEFS.h"
+#include "sysdep.h"
+#ifdef __linux__
+#include <asm/traps.h>
+#else
+#ifdef __svr4__
 #include <sys/trap.h>
+#else
+#include <machine/trap.h>
+#endif
+#endif
 
-FUNC(.urem)
+ENTRY(.urem)
 
 	! Ready to divide.  Compute size of quotient; scale comparand.
 	orcc	%o1, %g0, %o5