Chromium Code Reviews| Index: linux_syscall_support.h |
| diff --git a/linux_syscall_support.h b/linux_syscall_support.h |
| index a143fc2835e641b0725225d9f1a7f690a0183368..d8bd7ce69ce39c04ba7079e6b832f303f0ae64c7 100644 |
| --- a/linux_syscall_support.h |
| +++ b/linux_syscall_support.h |
| @@ -118,9 +118,16 @@ extern "C" { |
| #ifdef __mips__ |
| /* Include definitions of the ABI currently in use. */ |
| +#ifdef __ANDROID__ |
| +/* Android doesn't have sgidefs.h, but does have <asm/sgidefs.h, |
|
Mark Seaborn
2015/07/22 00:53:55
Missing ">" here
|
| + * which has the definitions we need. |
| + */ |
| +#include <asm/sgidefs.h> |
| +#else |
| #include <sgidefs.h> |
| #endif |
| #endif |
| +#endif |
| /* The Android NDK's <sys/stat.h> #defines these macros as aliases |
| * to their non-64 counterparts. To avoid naming conflict, remove them. */ |