From: rmilecki 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: https://git.archive.openwrt.org/?a=commitdiff_plain;h=25181b8c0e91ce78d63da84ed6a4c5a6392007d2;p=openwrt.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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46105 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/utils/otrx/src/otrx.c b/package/utils/otrx/src/otrx.c index 11db426a1d..131d8d6052 100644 --- a/package/utils/otrx/src/otrx.c +++ b/package/utils/otrx/src/otrx.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include