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>
This commit is contained in:
Fabian Groffen 2023-03-10 18:14:11 +01:00 committed by Felix Singer
parent 318ddb8aab
commit 6e04d8570f
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
#include <stdint.h>
#if defined(__GLIBC__)
#if defined(__linux__)
#include <sys/io.h>
#endif
#if (defined(__MACH__) && defined(__APPLE__))