<div dir="ltr">Hmm, I dont think that this is terrible.  However, since I dont belive that Linux guarantees the stability of its interfaces, I think that adding a trivial test for this would be waranteed.<div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 12, 2017 at 2:26 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 26 January 2017 at 10:57, Joakim Sindholt via llvm-dev<br>
<span class=""><<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> It's difficult to ascertain whether it's mixing with libc headers<br>
> but if it is then that's a bug in its own right.<br>
> Either way, it's pulling in kernel headers for a single #defined<br>
> constant that's been part of the linux ABI for years now. This<br>
> makes it more difficult to cross compile for, in my opinion, no<br>
> good reason. So here's a patch to just place the #define inline.<br>
<br>
</span>Hi Joakim,<br>
<br>
Sorry it took so long. I'm copying Saleem who knows more than I do about this.<br>
<br>
That define seems harmless. I checked kernel 3.13 and current trunk<br>
and the defines are the same. For compatibility, I seriously doubt<br>
they're going to change it anytime soon.<br>
<br>
I'd just add a comment where that line is from<br>
(arch/arm/include/uapi/asm/<wbr>unistd.h).<br>
<br>
Saleem, any objections?<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org</div>
</div></div></div>