aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/zram-swap/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-05 09:00:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-05 09:00:02 +0000
commit55ec20b9a8046a8c6dc13a5254e4c0da41adb71f (patch)
treee4249ef58cba063495a2168ed3d243131bf0fdb5 /package/system/zram-swap/files
parentbcd4d2d80ce5038c10289c50c6a11e786cc1a04c (diff)
downloadupstream-55ec20b9a8046a8c6dc13a5254e4c0da41adb71f.tar.gz
upstream-55ec20b9a8046a8c6dc13a5254e4c0da41adb71f.tar.bz2
upstream-55ec20b9a8046a8c6dc13a5254e4c0da41adb71f.zip
mtd: add missing <endian.h> include
trx.c in mtd would not include endian.h, so on systems that do not have this header implicitly included from the other headers (like musl), both __BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to it always presuming a big-endian system. this would lead to issues when running mtd fixtrx on little-endian systems, as it would never recognize the TRX magic as result of the broken STORE32_LE() macro. Signed-off-by: Shiz <hi@shiz.me> Tested-by: Shiz <hi@shiz.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/zram-swap/files')
0 files changed, 0 insertions, 0 deletions