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

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Thu Apr 5 16:01:43 CEST 2018


Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/23834 )

Change subject: intelmetool: Include <sys/io.h> for musl-libc
......................................................................

intelmetool: Include <sys/io.h> for musl-libc

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>
Reviewed-on: https://review.coreboot.org/23834
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
---
M util/intelmetool/intelmetool.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Paul Menzel: Looks good to me, but someone else must approve
  Philipp Deppenwiese: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ia27203cf47b9be3f7bf1ad422c8f490caeae8f56
Gerrit-Change-Number: 23834
Gerrit-PatchSet: 5
Gerrit-Owner: Ivan J. <parazyd at dyne.org>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Trammell Hudson <hudson at trmm.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180405/26aef7a7/attachment.html>


More information about the coreboot-gerrit mailing list