OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434f97f
)
Fix MIPS build.
author
Elliott Hughes
<enh@google.com>
Sat, 21 Dec 2013 02:46:14 +0000
(18:46 -0800)
committer
Elliott Hughes
<enh@google.com>
Sat, 21 Dec 2013 02:46:14 +0000
(18:46 -0800)
Change-Id: Idd3bcda1803fd16b728a352d325bb070aed8fd94
libc/private/bionic_asm.h
patch
|
blob
|
history
diff --git
a/libc/private/bionic_asm.h
b/libc/private/bionic_asm.h
index
e6ce65c
..
803ff29
100644
(file)
--- 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__)
+/* <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. */