From 3265f6151a9c10735b1e55569b29e2be6b0f8326 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 6 Oct 2021 15:30:54 +0800 Subject: [PATCH] third_party: Fix missing sgidefs.h for Musl --- src/third_party/lss/linux_syscall_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/lss/linux_syscall_support.h b/src/third_party/lss/linux_syscall_support.h index 37c0f438a4..147dacbfcf 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. */