diff --git a/src/third_party/abseil-cpp/absl/base/internal/direct_mmap.h b/src/third_party/abseil-cpp/absl/base/internal/direct_mmap.h index a01d612203..d73836dd1a 100644 --- a/src/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +++ b/src/third_party/abseil-cpp/absl/base/internal/direct_mmap.h @@ -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 diff --git a/src/third_party/lss/linux_syscall_support.h b/src/third_party/lss/linux_syscall_support.h index 7ea4f1fd69..85922046dd 100644 --- a/src/third_party/lss/linux_syscall_support.h +++ b/src/third_party/lss/linux_syscall_support.h @@ -120,7 +120,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. */