diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-06-22 06:45:56 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-06-22 06:45:56 +0000 |
commit | 0e5c445df65f80dd844ccc321479443152ba88c9 (patch) | |
tree | aefbe2edba487d03c31e0bf56378ae034667333e /package/utils/otrx/src | |
parent | 5c809ecfe7f227c77ba6c4ad3a87cf6263bee477 (diff) | |
download | mtk-20170518-0e5c445df65f80dd844ccc321479443152ba88c9.zip mtk-20170518-0e5c445df65f80dd844ccc321479443152ba88c9.tar.gz mtk-20170518-0e5c445df65f80dd844ccc321479443152ba88c9.tar.bz2 |
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
Diffstat (limited to 'package/utils/otrx/src')
-rw-r--r-- | package/utils/otrx/src/otrx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/utils/otrx/src/otrx.c b/package/utils/otrx/src/otrx.c index 11db426..131d8d6 100644 --- a/package/utils/otrx/src/otrx.c +++ b/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> |