projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c809ec
)
otrx: include endian.h to make __BYTE_ORDER work with musl
author
Rafał Miłecki
<zajec5@gmail.com>
Mon, 22 Jun 2015 06:45:56 +0000
(06:45 +0000)
committer
Rafał Miłecki
<zajec5@gmail.com>
Mon, 22 Jun 2015 06:45:56 +0000
(06:45 +0000)
Without this the condition
if __BYTE_ORDER == __BIG_ENDIAN
was always true.
Thanks Szabolcs.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46105
package/utils/otrx/src/otrx.c
patch
|
blob
|
history
diff --git
a/package/utils/otrx/src/otrx.c
b/package/utils/otrx/src/otrx.c
index 11db426a1df7036c14705f8b931dc9999eda401a..131d8d6052eb8b268092889090e79a20be90bfb7 100644
(file)
--- a/
package/utils/otrx/src/otrx.c
+++ b/
package/utils/otrx/src/otrx.c
@@
-10,6
+10,7
@@
*/
#include <byteswap.h>
+#include <endian.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>