mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 06:01:03 +00:00
third_party: Fix missing sgidefs.h for Musl
This commit is contained in:
parent
1647dda832
commit
df12a8b1af
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
#ifdef __mips__
|
#ifdef __mips__
|
||||||
// Include definitions of the ABI currently in use.
|
// 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
|
// Android doesn't have sgidefs.h, but does have asm/sgidefs.h, which has the
|
||||||
// definitions we need.
|
// definitions we need.
|
||||||
#include <asm/sgidefs.h>
|
#include <asm/sgidefs.h>
|
||||||
|
|
2
src/third_party/lss/linux_syscall_support.h
vendored
2
src/third_party/lss/linux_syscall_support.h
vendored
|
@ -119,7 +119,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifdef __mips__
|
#ifdef __mips__
|
||||||
/* Include definitions of the ABI currently in use. */
|
/* 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,
|
/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
|
||||||
* which has the definitions we need.
|
* which has the definitions we need.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue