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)
commit0e5c445df65f80dd844ccc321479443152ba88c9
treeaefbe2edba487d03c31e0bf56378ae034667333e
parent5c809ecfe7f227c77ba6c4ad3a87cf6263bee477
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