diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s index 22864af2f3ec..f1deb06e8e88 100644 --- a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s +++ b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s @@ -7,8 +7,14 @@ /* This code is for MIPS using the O32 ABI. */ +#ifdef ANDROID +#include +#include +#include +#else #include #include +#endif # NARGSAVE is the argument space in the callers frame, including extra # 'shadowed' space for the argument registers. The minimum of 4 diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s index ca3b2f651476..f53409fa7443 100644 --- a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s +++ b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s @@ -10,8 +10,14 @@ /* This code is for MIPS using the O32 ABI. */ +#ifdef ANDROID +#include +#include +#include +#else #include #include +#endif # NARGSAVE is the argument space in the callers frame, including extra # 'shadowed' space for the argument registers. The minimum of 4