blob: b01cba39cd9a63fa7dcfc25477412a89e185550e [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 259b420444c52463795b4b582a2ab7511149eea7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 16 Oct 2017 21:26:40 -0700
4Subject: [PATCH] sgidef.h does not exist on musl and its not needed to compile
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Pending
Brad Bishop316dfdd2018-06-25 12:45:53 -04008
9---
10 src/base/linux_syscall_support.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
Brad Bishop316dfdd2018-06-25 12:45:53 -040013--- a/src/base/linux_syscall_support.h
14+++ b/src/base/linux_syscall_support.h
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015@@ -164,7 +164,7 @@ extern "C" {
16 #include <endian.h>
17 #include <fcntl.h>
18
19-#ifdef __mips__
20+#if defined(__mips__) && defined(__glibc__)
21 /* Include definitions of the ABI currently in use. */
22 #include <sgidefs.h>
23 #endif