aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch
blob: 7e1a23bf6879b74a2c1c26355e194e1dcdbdec26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sgidef.h does not exist on musl and its not needed to compile

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: git/src/base/linux_syscall_support.h
===================================================================
--- git.orig/src/base/linux_syscall_support.h
+++ git/src/base/linux_syscall_support.h
@@ -164,7 +164,7 @@ extern "C" {
 #include <endian.h>
 #include <fcntl.h>
 
-#ifdef __mips__
+#if defined(__mips__) && defined(__glibc__)
 /* Include definitions of the ABI currently in use.                          */
 #include <sgidefs.h>
 #endif