Fix MIPS build.

Change-Id: Idd3bcda1803fd16b728a352d325bb070aed8fd94
This commit is contained in:
Elliott Hughes 2013-12-20 18:46:14 -08:00
parent 434f97f66a
commit 5b395ce071

View File

@ -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. */