Ivan J. has uploaded this change for review. ( https://review.coreboot.org/23834
Change subject: Include <sys/io.h> in intelmetool/intelmetool.c ......................................................................
Include <sys/io.h> in intelmetool/intelmetool.c
This allows compiling the program using musl-libc, since otherwise iopl(2) is undeclared.
Change-Id: Ia27203cf47b9be3f7bf1ad422c8f490caeae8f56 Signed-off-by: Ivan J. parazyd@dyne.org --- M util/intelmetool/intelmetool.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/23834/1
diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c index 0b0e509..14cb035 100644 --- a/util/intelmetool/intelmetool.c +++ b/util/intelmetool/intelmetool.c @@ -18,6 +18,7 @@ #include <unistd.h> #include <string.h> #include <cpuid.h> +#include <sys/io.h>
#ifdef __NetBSD__ #include <machine/sysarch.h>