summaryrefslogtreecommitdiffstats
path: root/firmware/include
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-12-08 03:19:14 -0600
committerWilliam Wilgus <me.theuser@yahoo.com>2018-12-08 03:19:14 -0600
commit0f5f5c3390feb6c44da57b5f6748dca0b0a947a0 (patch)
treed5d04b3e2dd011d9625a8e6fb212f911ad13ddaf /firmware/include
parent69c6c77680b1a59b000bb1fa45f4ee5153afb9f8 (diff)
downloadrockbox-0f5f5c3390feb6c44da57b5f6748dca0b0a947a0.tar.gz
rockbox-0f5f5c3390feb6c44da57b5f6748dca0b0a947a0.tar.bz2
rockbox-0f5f5c3390feb6c44da57b5f6748dca0b0a947a0.zip
Fix Sim & checkwps for newer distros
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this Change-Id: I4d004e68313e8b32aa5587582be36bc459fdaf6b
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/rbendian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/rbendian.h b/firmware/include/rbendian.h
index 0e941b8f06..7b666eca56 100644
--- a/firmware/include/rbendian.h
+++ b/firmware/include/rbendian.h
@@ -23,7 +23,7 @@
#include "config.h"
-#ifdef SIM_USE_BYTESWAP_H
+#ifdef OS_USE_BYTESWAP_H
#include <byteswap.h>
#endif