[coreboot-gerrit] Change in coreboot[master]: Include <sys/io.h> in intelmetool/intelmetool.c

Ivan J. (Code Review) gerrit at coreboot.org
Wed Feb 21 11:03:47 CET 2018


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 at 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>

-- 
To view, visit https://review.coreboot.org/23834
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia27203cf47b9be3f7bf1ad422c8f490caeae8f56
Gerrit-Change-Number: 23834
Gerrit-PatchSet: 1
Gerrit-Owner: Ivan J. <parazyd at dyne.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180221/11aa7b74/attachment.html>


More information about the coreboot-gerrit mailing list