From 6e04d8570fdb3fa9b15432a1abad3710731ce596 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 10 Mar 2023 18:14:11 +0100 Subject: [PATCH] util/inteltool: Fix build on musl-libc systems use __linux__ instead of __GLIBC__ guard for Linux-specific includes Signed-off-by: Fabian Groffen Change-Id: Ifbf4552591c0df7811c5b37a9207c0901b6fd68f Reviewed-on: https://review.coreboot.org/c/coreboot/+/73666 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- util/inteltool/inteltool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h index 130e63ce88..02c169268a 100644 --- a/util/inteltool/inteltool.h +++ b/util/inteltool/inteltool.h @@ -9,7 +9,7 @@ #include -#if defined(__GLIBC__) +#if defined(__linux__) #include #endif #if (defined(__MACH__) && defined(__APPLE__))