third_party: Fix missing sgidefs.h for Musl

This commit is contained in:
klzgrad 2021-10-06 15:30:54 +08:00
parent 773db2b6e3
commit d98c27032e
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
#ifdef __mips__
// Include definitions of the ABI currently in use.
#ifdef __BIONIC__
#if defined(__BIONIC__) || defined(__MUSL__)
// Android doesn't have sgidefs.h, but does have asm/sgidefs.h, which has the
// definitions we need.
#include <asm/sgidefs.h>

View File

@ -119,7 +119,7 @@ extern "C" {
#ifdef __mips__
/* Include definitions of the ABI currently in use. */
#ifdef __ANDROID__
#if defined(__ANDROID__) || defined(__MUSL__)
/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
* which has the definitions we need.
*/