otrx: include endian.h to make __BYTE_ORDER work with musl

Without this the condition
if __BYTE_ORDER == __BIG_ENDIAN
was always true.

Thanks Szabolcs.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46105
This commit is contained in:
Rafał Miłecki 2015-06-22 06:45:56 +00:00
parent 5c809ecfe7
commit 0e5c445df6

View file

@ -10,6 +10,7 @@
*/
#include <byteswap.h>
#include <endian.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>