From 5b395ce071f2c96b8243926f26df3911ebb226e0 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 20 Dec 2013 18:46:14 -0800 Subject: [PATCH] Fix MIPS build. Change-Id: Idd3bcda1803fd16b728a352d325bb070aed8fd94 --- libc/private/bionic_asm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/private/bionic_asm.h b/libc/private/bionic_asm.h index e6ce65c9e..803ff29fc 100644 --- a/libc/private/bionic_asm.h +++ b/libc/private/bionic_asm.h @@ -29,7 +29,10 @@ #ifndef _PRIVATE_BIONIC_ASM_H_ #define _PRIVATE_BIONIC_ASM_H_ +#if !defined(__mips__) +/* causes trouble on mips by including regdefs.h. */ #include +#endif #include /* For system call numbers. */ #define MAX_ERRNO 4095 /* For recognizing system call error returns. */