OSDN Git Service

Fix MIPS build.
authorElliott Hughes <enh@google.com>
Sat, 21 Dec 2013 02:46:14 +0000 (18:46 -0800)
committerElliott Hughes <enh@google.com>
Sat, 21 Dec 2013 02:46:14 +0000 (18:46 -0800)
Change-Id: Idd3bcda1803fd16b728a352d325bb070aed8fd94

libc/private/bionic_asm.h

index e6ce65c..803ff29 100644 (file)
 #ifndef _PRIVATE_BIONIC_ASM_H_
 #define _PRIVATE_BIONIC_ASM_H_
 
+#if !defined(__mips__)
+/* <machine/asm.h> causes trouble on mips by including regdefs.h. */
 #include <machine/asm.h>
+#endif
 
 #include <asm/unistd.h> /* For system call numbers. */
 #define MAX_ERRNO 4095  /* For recognizing system call error returns. */