summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch
blob: 10274a6decf44fe35000f22f1e4ba138f728a602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 259b420444c52463795b4b582a2ab7511149eea7 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 16 Oct 2017 21:26:40 -0700
Subject: [PATCH] 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

---
 src/base/linux_syscall_support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
index 70431ca..b23ca59 100644
--- a/src/base/linux_syscall_support.h
+++ b/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
OpenPOWER on IntegriCloud