MIPS Android: use asm/sgidefs.h instead of sgidefs.h

Including LSS from Chromium's base_unittests breaks compilation on MIPS
Android. Breakpad works around this by suppling an sgidefs.h that just
includes asm/sgidefs.h. This CL makes LSS include asm/sgidefs.h
directly when building for MIPS Android, preventing other projects for
having to apply the same workaround.

BUG=512384

Patch contributed by Ian Cullinan (cullinan@amazon.com).

R=mseaborn@chromium.org

Review URL: https://codereview.chromium.org/1248033002 .

git-svn-id: http://linux-syscall-support.googlecode.com/svn/trunk/lss@36 829466d3-f3f5-3ae4-62ad-de35cf9bba21
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index a143fc2..8a42c1c 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -118,9 +118,16 @@
 
 #ifdef __mips__
 /* Include definitions of the ABI currently in use.                          */
+#ifdef __ANDROID__
+/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
+ * 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. */