Author: rmilecki Date: 2015-06-22 08:45:56 +0200 (Mon, 22 Jun 2015) New Revision: 46105
Modified: trunk/package/utils/otrx/src/otrx.c Log: 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?\197?\130 Mi?\197?\130ecki <[email protected]> Modified: trunk/package/utils/otrx/src/otrx.c =================================================================== --- trunk/package/utils/otrx/src/otrx.c 2015-06-21 21:06:09 UTC (rev 46104) +++ trunk/package/utils/otrx/src/otrx.c 2015-06-22 06:45:56 UTC (rev 46105) @@ -10,6 +10,7 @@ */ #include <byteswap.h> +#include <endian.h> #include <errno.h> #include <stdint.h> #include <stdio.h> _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
