otrx: include endian.h to make __BYTE_ORDER work with musl
authorRafał Miłecki <zajec5@gmail.com>
Mon, 22 Jun 2015 06:45:56 +0000 (06:45 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Mon, 22 Jun 2015 06:45:56 +0000 (06:45 +0000)
commitb70a4df8003248aa363da0f82f3b388ef10cb6ad
treefe8917328fc3d048a506077f80323f43407656ff
parenta8e0ad15ff990b2e34ec44c212e37edb02ffab02
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
package/utils/otrx/src/otrx.c