summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-29 18:46:49 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-29 18:46:49 +0000
commitb13c1fe1b13705095f4407c152869a9cbd85ba61 (patch)
treec37d790b4ddbd6d5886e67026764011df2e3bdb3 /libc/sysdeps/linux/mips
parent69abe1ef66beef2fcd8bb2750484f1da865213cb (diff)
downloaduClibc-alpine-b13c1fe1b13705095f4407c152869a9cbd85ba61.tar.bz2
uClibc-alpine-b13c1fe1b13705095f4407c152869a9cbd85ba61.tar.xz
Only include 'regdef.h' when using assembly code. Your character has
gained +1 idiot experience points.
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r--libc/sysdeps/linux/mips/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h
index 8f4262196..b21ddfbe1 100644
--- a/libc/sysdeps/linux/mips/sysdep.h
+++ b/libc/sysdeps/linux/mips/sysdep.h
@@ -17,7 +17,9 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#include <sys/syscall.h>
+#ifdef __ASSEMBLER__
#include <sys/regdef.h>
+#endif
#include <features.h>
/* Not that using a `PASTE' macro loses. */