diff options
author | Ivan J <parazyd@dyne.org> | 2018-02-21 10:52:51 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-04-05 14:01:39 +0000 |
commit | 85c76c9bc0a0a09ae23c00b41af8d411546b706a (patch) | |
tree | 851d82b6b6d233ddf95fc5b70a4f4b589d9b73de /util | |
parent | f92fcabba8dbb1510df6cee545b2cba5ac7e047a (diff) | |
download | coreboot-85c76c9bc0a0a09ae23c00b41af8d411546b706a.tar.gz coreboot-85c76c9bc0a0a09ae23c00b41af8d411546b706a.tar.bz2 coreboot-85c76c9bc0a0a09ae23c00b41af8d411546b706a.zip |
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@dyne.org>
Reviewed-on: https://review.coreboot.org/23834
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/intelmetool/intelmetool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c index 0b0e509bcc39..14cb035a1f1b 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> |