otrx: include endian.h to make __BYTE_ORDER work with musl
authorrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 22 Jun 2015 06:45:56 +0000 (06:45 +0000)
committerrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 22 Jun 2015 06:45:56 +0000 (06:45 +0000)
commit25181b8c0e91ce78d63da84ed6a4c5a6392007d2
treefe8917328fc3d048a506077f80323f43407656ff
parentb8455a82b58c8ed16b0fc6742b00de6fc575f0e6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46105 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/utils/otrx/src/otrx.c