From: Rafał Miłecki Date: Mon, 22 Jun 2015 06:45:56 +0000 (+0000) Subject: otrx: include endian.h to make __BYTE_ORDER work with musl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e5c445df65f80dd844ccc321479443152ba88c9;p=openwrt%2Fstaging%2Frmilecki.git 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 SVN-Revision: 46105 --- diff --git a/package/utils/otrx/src/otrx.c b/package/utils/otrx/src/otrx.c index 11db426a1df..131d8d6052e 100644 --- a/package/utils/otrx/src/otrx.c +++ b/package/utils/otrx/src/otrx.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include