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