• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/faifa/0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch
Peter KorsgaardPeter Korsgaard committed 9a8d49a79e815 Sep 2015
Raw file
Source viewDiff to previous
 
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
5
​
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:
8
​
9
http://autobuild.buildroot.net/results/17b/17bde543db253c008079b04c5e341f804160f59c/build-end.log
10
​
11
Upstream-Status: submitted (https://github.com/ffainelli/faifa/pull/12)
12
​
13
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14
---
15
 sha2.c | 1 +
16
 1 file changed, 1 insertion(+)
17
​
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>
25
 
26
+#include "endian.h"
27
 #include "sha2.h"
28
 
29
 /*
30
-- 
31
2.1.4
32
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.