summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2023-03-10 18:14:11 +0100
committerFelix Singer <felixsinger@posteo.net>2023-03-12 11:42:48 +0000
commit6e04d8570fdb3fa9b15432a1abad3710731ce596 (patch)
tree9e914e5061e0749db6d9bae469021a229166203d
parent318ddb8aab8263dd772acadd1cf777ae5604da35 (diff)
util/inteltool: Fix build on musl-libc systems
use __linux__ instead of __GLIBC__ guard for Linux-specific includes Signed-off-by: Fabian Groffen <grobian@gentoo.org> Change-Id: Ifbf4552591c0df7811c5b37a9207c0901b6fd68f Reviewed-on: https://review.coreboot.org/c/coreboot/+/73666 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/inteltool/inteltool.h2
1 files changed, 1 insertions, 1 deletions
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 <stdint.h>
-#if defined(__GLIBC__)
+#if defined(__linux__)
#include <sys/io.h>
#endif
#if (defined(__MACH__) && defined(__APPLE__))