blob: b01cba39cd9a63fa7dcfc25477412a89e185550e [file] [log] [blame]
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(-)
--- 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