<div dir="ltr">why on earth is that test there? what does glibc have to do with whether you have sys/io.h?<div><br></div><div>I suggest removing the guard.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 14, 2018 at 10:12 AM Trammell Hudson <<a href="mailto:hudson@trmm.net">hudson@trmm.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When cross compiling inteltool with musl-libc the <sys/io.h> header<br>
is not included due to this test in inteltool.h:<br>
<br>
#if defined(__GLIBC__)<br>
#include <sys/io.h><br>
#endif<br>
<br>
Unfortunately I'm not sure what the right test is here, since<br>
the musl libc team is opposed to having a __MUSL__ define:<br>
<br>
<a href="http://openwall.com/lists/musl/2013/03/29/13" rel="noreferrer" target="_blank">http://openwall.com/lists/musl/2013/03/29/13</a><br>
<br>
--<br>
Trammell<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a><br>
</blockquote></div>