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
master
Rafał Miłecki 10 years ago
parent 5c809ecfe7
commit 0e5c445df6
  1. 1
      package/utils/otrx/src/otrx.c

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

Loading…
Cancel
Save