board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / faifa / 0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch
blob79da360807ab4d92b9914798df074814d705b88c
1 From bfe43f4b4f249cee8c77059d7c89ebbc521d4d93 Mon Sep 17 00:00:00 2001
2 From: Peter Korsgaard <peter@korsgaard.com>
3 Date: Mon, 14 Sep 2015 22:25:12 +0200
4 Subject: [PATCH] sha2.c: explicitly include endian.h for BYTE_ORDER macro
6 Fixes a build issue with the musl C library, which doesn't indirectly
7 include endian.h from any of the included system headers:
9 http://autobuild.buildroot.net/results/17b/17bde543db253c008079b04c5e341f804160f59c/build-end.log
11 Upstream-Status: submitted (https://github.com/ffainelli/faifa/pull/12)
13 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14 ---
15 sha2.c | 1 +
16 1 file changed, 1 insertion(+)
18 diff --git a/sha2.c b/sha2.c
19 index f2f5132..4c8a72d 100644
20 --- a/sha2.c
21 +++ b/sha2.c
22 @@ -40,6 +40,7 @@
23 #include <inttypes.h>
24 #include <string.h>
26 +#include "endian.h"
27 #include "sha2.h"
30 --
31 2.1.4