summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools/sgidef.patch')
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/sgidef.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch
new file mode 100644
index 000000000..7e1a23bf6
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch
@@ -0,0 +1,17 @@
1sgidef.h does not exist on musl and its not needed to compile
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5Index: git/src/base/linux_syscall_support.h
6===================================================================
7--- git.orig/src/base/linux_syscall_support.h
8+++ git/src/base/linux_syscall_support.h
9@@ -164,7 +164,7 @@ extern "C" {
10 #include <endian.h>
11 #include <fcntl.h>
12
13-#ifdef __mips__
14+#if defined(__mips__) && defined(__glibc__)
15 /* Include definitions of the ABI currently in use. */
16 #include <sgidefs.h>
17 #endif