[linux-nfc] Re: [neard][PATCH 1/4] include: include endian.h to fix missing __BYTE_ORDER definition on Debian Stretch

Krzysztof Kozlowski <[email protected]> Thu, 11 Nov 2021 11:46:39 +0100
Newsgroups org.01.lists.linux-nfc,dev.linux.lists.oe-linux-nfc
Message-ID <[email protected]>
On 07/11/2021 18:26, Krzysztof Kozlowski wrote:
> Code should pull explicitly headers for necessary symbols instead of
> relying on dependencies.  Lack of endian.h caused build failures on
> Debian Stretch:
> 
>     In file included from tools/nfctool/ndef-decode.c:28:0:
>     include/near/types.h:43:5: error: "__BYTE_ORDER" is not defined [-Werror=undef]
>      #if __BYTE_ORDER == __LITTLE_ENDIAN
> 
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
>  include/types.h | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied.


Best regards,
Krzysztof
_______________________________________________
Linux-nfc mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s